Search found 1513 matches

by TheDewd
28 Jan 2021, 09:45
Forum: Ask for Help (v1)
Topic: Storing Numpad number in var Topic is solved
Replies: 2
Views: 580

Re: Storing Numpad number in var Topic is solved

Code: Select all

#SingleInstance, Force

!Numpad0::
!Numpad1::
!Numpad2::
!Numpad3::
!Numpad4::
!Numpad5::
!Numpad6::
!Numpad7::
!Numpad8::
!Numpad9::
	NumVar := StrReplace(A_ThisHotkey, "!Numpad")
	SetTimer, Repeat, 3000
	GoSub, Repeat
return

Repeat:
	SendEvent, {Up %NumVar%}
return
by TheDewd
28 Jan 2021, 09:31
Forum: Ask for Help (v1)
Topic: How can I increment a value outside of a function?
Replies: 1
Views: 351

Re: How can I increment a value outside of a function?

You would need to write it like this: i := i + 1, or just use i++ which does the same thing.

Code: Select all

#SingleInstance, Force

i := 0
return

Numpad0::
	MyFunc()
return

MyFunc() {
	Global
	
	;i := i + 1
	i++
	
	Send, {Text}Counting
	Send, {Text}Round %i%
	return
}
by TheDewd
28 Jan 2021, 09:14
Forum: Suggestions on Documentation Improvements
Topic: MAX_PATH Topic is solved
Replies: 9
Views: 2533

Re: MAX_PATH Topic is solved

I think I understand the issue now. If that were the case then the maximum file path, including the null terminator, would be 256 + 3 = 259, not 260. You're only adding 3 to the filename + null terminator character length. What I failed to include in my rationale is a trailing backslash , which will...
by TheDewd
27 Jan 2021, 16:31
Forum: Suggestions on Documentation Improvements
Topic: Windows messages hexidecimal code lenght Topic is solved
Replies: 2
Views: 985

Re: Windows messages hexidecimal code lenght Topic is solved

I agree! It's known that AutoHotkey will accept shorter versions of the message codes, removing the leading zeroes, however I would like to see the full codes referenced in the documentation. Does it matter? No, not really -- if you're an experienced developer and know what you're doing. However, fo...
by TheDewd
27 Jan 2021, 15:51
Forum: Suggestions on Documentation Improvements
Topic: MAX_PATH Topic is solved
Replies: 9
Views: 2533

Re: MAX_PATH Topic is solved

I think you've missed something... ...a single file or directory name at maximum length (255 characters), and a null terminator. Notice that the AutoHotkey quote says the directory name is 255 characters, AND a null terminator. This would bring the maximum to 256. ...maximum path on drive D is "D:\s...
by TheDewd
08 Jan 2021, 14:03
Forum: Ask for Help (v2)
Topic: Hot Key for Ctrl-A Ctrl-C
Replies: 2
Views: 19504

Re: Hot Key for Ctrl-A Ctrl-C

Code: Select all

#SingleInstance, Force

Ctrl & Q::
	Send, ^a ; Ctrl + A
	Sleep, 150
	Send, ^c ; Ctrl + C
return
by TheDewd
06 Jan 2021, 14:09
Forum: Ask for Help (v1)
Topic: How to make turn off button Topic is solved
Replies: 1
Views: 134

Re: How to make turn off button Topic is solved

Code: Select all

#SingleInstance, Force

Toggle := 0
Index := 0

F3::
	Toggle := !Toggle
	SetTimer, Timer1, % (Toggle ? 1000 : "Off")
return

Timer1:
	Index++
	Send % 86048 + Index "{Enter}"
return
by TheDewd
06 Jan 2021, 09:16
Forum: Scripts and Functions (v1)
Topic: [Tool] Quick Palette (color picker)
Replies: 6
Views: 2577

Re: [Tool] Quick Palette (color picker)

SirSocks , #SingleInstance, Force Colors := {"Red": ["FF9999","FF6666","FF3333","FF0000","D90000","B20000","8C0000","660000","400000"], "Flame": ["FFB299","FF8C66","FF6633","FF4000","D93600","B22D00","8C2300","661A00","401000"], "Orange": ["FFCC99","FFB266","FF9933","FF8000","D96C00","B25900","8C46...
by TheDewd
23 Nov 2020, 20:41
Forum: Ask for Help (v1)
Topic: Categorize YouTube Channel List
Replies: 19
Views: 2410

Re: Categorize YouTube Channel List

I decided to make this into a new project.

Posted a new script for extracting the subscription list: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=83584

Doesn't include tags, keywords, or other info yet.
by TheDewd
23 Nov 2020, 20:36
Forum: Scripts and Functions (v1)
Topic: YouTube Subscriptions Parser
Replies: 1
Views: 587

YouTube Subscriptions Parser

Edit: YouTube changed the data encoding format in the source HTML. Will fix the script soon. YouTube Subscriptions Parser Extracts a complete list of subscriptions from a YouTube account Simply run the script, click the Start button, and get your entire list of YouTube subscriptions as text. Downlo...
by TheDewd
23 Nov 2020, 01:05
Forum: Ask for Help (v1)
Topic: SB_SetText: Right-Justified?
Replies: 4
Views: 724

Re: SB_SetText: Right-Justified?

mikeyww , That's interesting... Adding Gui, +Resize after the creation of the StatusBar control. That will remove the sizing grip, which solves the issue with the text. I will use that solution if no alternative, but I'm hoping there's a way to avoid the clipping while keeping the sizing grip. Gui,...
by TheDewd
23 Nov 2020, 00:55
Forum: Ask for Help (v1)
Topic: SB_SetText: Right-Justified?
Replies: 4
Views: 724

Re: SB_SetText: Right-Justified?

Here's what I'm trying to do. 1) Set the width of the first section. 2) The second section will automatically be the remainder of the Gui's width. I want the text outside of part 1 to be all the way to the right. It's almost working as expected, however the sizing grip is clipping the text. I could ...
by TheDewd
23 Nov 2020, 00:43
Forum: Ask for Help (v1)
Topic: SB_SetText: Right-Justified?
Replies: 4
Views: 724

SB_SetText: Right-Justified?

SB_SetText(NewText [, PartNumber, Style]): Displays NewText in the specified part of the status bar. If PartNumber is omitted, it defaults to 1. Otherwise, specify an integer between 1 and 256. If Style is omitted, it defaults to 0, which uses a traditional border that makes that part of the bar lo...
by TheDewd
22 Nov 2020, 10:49
Forum: Ask for Help (v1)
Topic: URLDownloadToFile and Cloudflare
Replies: 12
Views: 907

Re: URLDownloadToFile and Cloudflare

I think that the automation is the only answer for me :headwall: I just need to see if it's possible to do it with a hidden window. I need the script to loop every 10 minutes. So having the chrome window showing every 10 minutes while I'm on the computer it's not so "cool". That's why you try using...
by TheDewd
21 Nov 2020, 12:31
Forum: Ask for Help (v1)
Topic: URLDownloadToFile and Cloudflare
Replies: 12
Views: 907

Re: URLDownloadToFile and Cloudflare

teadrinker wrote:
21 Nov 2020, 12:27
How did you achieve this?
I may have not used the correct phrasing, but something like this is what I'm referring to: https://www.autohotkey.com/boards/viewtopic.php?p=365169#p365169

It's worth a try.
by TheDewd
21 Nov 2020, 11:24
Forum: Ask for Help (v1)
Topic: URLDownloadToFile and Cloudflare
Replies: 12
Views: 907

Re: URLDownloadToFile and Cloudflare

I was going to suggest loading the link in an activex control, emulating the edge browser. I've had success with this method for other projects. Then handle the download from there.
by TheDewd
20 Nov 2020, 12:30
Forum: Ask for Help (v1)
Topic: URLDownloadToFile and Cloudflare
Replies: 12
Views: 907

Re: URLDownloadToFile and Cloudflare

Would you be willing to share the link to the RSS file?

If not, do you know any other similar RSS feeds that use Cloudflare?

It may be possible to find a workaround for your issue, but without something to test it would be difficult.

I do have an idea, but would like to test my theory first.
by TheDewd
18 Nov 2020, 15:35
Forum: Ask for Help (v1)
Topic: Categorize YouTube Channel List
Replies: 19
Views: 2410

Re: Categorize YouTube Channel List

Please check GeegDudes statement regarding licensing that I've spoilered above! Thx :) He's at Discord ATM, just in case you wanna chit-chat ;) Thanks BoBo , GeekDude -- no harm intended. Altered the previous reply to include the license & copyright. I just removed all the lengthy text while I was ...
by TheDewd
18 Nov 2020, 15:16
Forum: Ask for Help (v1)
Topic: Categorize YouTube Channel List
Replies: 19
Views: 2410

Re: Categorize YouTube Channel List

PS. Realized a moment ago. My current/default YT session is running within Chrome, while Neutron is working using Edge by default, correct? Actually, I believe it's using Internet Explorer (not Edge). I also think you're correct about it being isolated -- the cookies do not seem to be shared with m...
by TheDewd
18 Nov 2020, 14:01
Forum: Ask for Help (v1)
Topic: Post file via HTTP request? Topic is solved
Replies: 2
Views: 596

Re: Post file via HTTP request? Topic is solved

You might be able to figure it out my examining my Tinify function which can upload files to a web API.

https://www.autohotkey.com/boards/viewtopic.php?p=147061#p147061

Go to advanced search