Search found 28 matches

by 09KR0058
06 Apr 2023, 16:13
Forum: Ask for Help (v1)
Topic: Debug a script?
Replies: 1
Views: 148

Debug a script?

After so many years using AHK, I have a script that isn't working as expected and I need to step through it. I've done searches on debugging these scripts, but it has just left me totally confused. Having come from a programming background, I'm use to running code in a debugger, where I can step thr...
by 09KR0058
06 Mar 2023, 16:34
Forum: Ask for Help (v1)
Topic: SendRaw With %
Replies: 3
Views: 463

Re: SendRaw With %

Thank you sir! I've been using ahk for so long I completely forgot about that.
by 09KR0058
06 Mar 2023, 14:45
Forum: Ask for Help (v1)
Topic: SendRaw With %
Replies: 3
Views: 463

SendRaw With %

One of my hot-key scripts sends a hardcoded string via the SendRaw statement that changes monthly. This month, that string contains a % sign, similar to this: SendRaw abcdefg12345%wxyz Now when I boot up and my ahk file loads, it throws a invalid variable error, which does make sense, then quits. Is...
by 09KR0058
17 Mar 2020, 14:13
Forum: Ask for Help (v1)
Topic: AHK Not Starting At Boot
Replies: 7
Views: 1175

Re: AHK Not Starting At Boot

Still wrestling with this issue. I've even resorted to playing with Process Explorer and Process Monitor, but they really are no help.

I did find something interesting in RegEdit

Image

Do these two entries make any sense?
by 09KR0058
02 Mar 2020, 20:53
Forum: Ask for Help (v1)
Topic: AHK Not Starting At Boot
Replies: 7
Views: 1175

Re: AHK Not Starting At Boot

Any other ideas here? I removed the shortcut from the Startup folder an created a new one, making sure it pointed to the script, not the exe. (Spent a couple hours chasing down that mistake some years ago). I can click on Start -> All Programs, scroll down to the Startup folder, click on it, then on...
by 09KR0058
01 Mar 2020, 19:14
Forum: Forum Issues
Topic: Slow forum
Replies: 88
Views: 21323

Re: Slow forum

Sweet!!!!!
by 09KR0058
29 Feb 2020, 19:37
Forum: Ask for Help (v1)
Topic: AHK Not Starting At Boot
Replies: 7
Views: 1175

Re: AHK Not Starting At Boot

Thanks for the reply #boiler. Manually running it from the Startup folder works fine. I have always had the following code at the top of the script: ; ; ; Log the boot time ; FormatTime, OutputLine, , yyyy-MM-dd HH:mm:ss FileDelete, c:\BootTime.txt FileAppend, %OutputLine%, c:\BootTime.txt Yes, this...
by 09KR0058
28 Feb 2020, 16:52
Forum: Ask for Help (v1)
Topic: AHK Not Starting At Boot
Replies: 7
Views: 1175

Re: AHK Not Starting At Boot

That's one of the first things I checked and there is nothing blocking it.
by 09KR0058
28 Feb 2020, 16:47
Forum: Forum Issues
Topic: Slow forum
Replies: 88
Views: 21323

Re: Slow forum

Same issue here in Atlanta. Takes about 30 seconds to load each page and not having issues with any other sites. Brutal!!!
by 09KR0058
27 Feb 2020, 16:51
Forum: Ask for Help (v1)
Topic: AHK Not Starting At Boot
Replies: 7
Views: 1175

AHK Not Starting At Boot

I have a shortcut to AHK in my Startup folder on a Windows 7 Ultimate x64 machine. Its been working just fine for years. Just noticed this week that it no long loads at startup while everything else in the startup folder works. I've checked Event Viewer and don't see anything there. Can't find any t...
by 09KR0058
23 Oct 2019, 21:26
Forum: Ask for Help (v1)
Topic: Send Ctl-Shift-right arrow Topic is solved
Replies: 2
Views: 633

Re: Send Ctl-Shift-right arrow Topic is solved

In the words of Homer Simpson: DOH!

Thank you
by 09KR0058
23 Oct 2019, 14:17
Forum: Ask for Help (v1)
Topic: Send Ctl-Shift-right arrow Topic is solved
Replies: 2
Views: 633

Send Ctl-Shift-right arrow Topic is solved

I need to send a combination of Ctrl + Shift + right arrow to highlight a chunk of text that the cursor is next to. I've tried a number of things, using Send, Send Keys and with the combination of ^!{Right}, but nothing is working correctly. What am I missing?
by 09KR0058
05 Sep 2019, 14:47
Forum: Ask for Help (v1)
Topic: Send Trailing Space? Topic is solved
Replies: 2
Views: 1139

Re: Send Trailing Space? Topic is solved

Excellent! Thank yo so much.

I wasn't aware of any of those options, and the expression approach is very cool.
by 09KR0058
05 Sep 2019, 14:07
Forum: Ask for Help (v1)
Topic: Send Trailing Space? Topic is solved
Replies: 2
Views: 1139

Send Trailing Space? Topic is solved

Kinda embarrassed to be asking this after many, many years of using AHK, but how do I send trailing spaces with the Send command? Here's the two lines of code: FormatTime, TimeStamp, , M/d/y hh:mmtt Send %TimeStamp% - Notice at the end of the Send line, there is a space, dash and a trailing space. H...
by 09KR0058
18 Jun 2017, 15:52
Forum: Ask for Help (v1)
Topic: Wait for mouse click, save coordinates Topic is solved
Replies: 4
Views: 3744

Re: Wait for mouse click, save coordinates Topic is solved

Perfect. Thank you so much. Guess I didn't dig deep enough. Had no idea that KeyWait could be used for mouse clicks.
by 09KR0058
17 Jun 2017, 18:01
Forum: Ask for Help (v1)
Topic: Wait for mouse click, save coordinates Topic is solved
Replies: 4
Views: 3744

Re: Wait for mouse click, save coordinates Topic is solved

Thanks for the reply GEV, but that's not quite what I need. Also, I didn't explain myself very well. Here's how the flow of the script should be: Script is started via hotkey and waits for user to click somewhere on the screen Use MouseGetPos and save the X & Y coordinates Wait for user to click som...
by 09KR0058
16 Jun 2017, 21:44
Forum: Ask for Help (v1)
Topic: Wait for mouse click, save coordinates Topic is solved
Replies: 4
Views: 3744

Wait for mouse click, save coordinates Topic is solved

I have a script where I need the user to click somewhere on a window and get the mouse coordinates of where they clicked. Input won't work as it waits for a string to be entered. Is there some way to do this? Don't really need a prompt, as it would be at the beginning when the script is first run by...
by 09KR0058
23 Aug 2016, 18:31
Forum: Ask for Help (v1)
Topic: Lock Workstation
Replies: 3
Views: 1106

Re: Lock Workstation

Thanks guys
by 09KR0058
18 Aug 2016, 17:42
Forum: Ask for Help (v1)
Topic: Lock Workstation
Replies: 3
Views: 1106

Lock Workstation

Trying to lock a Windows 7 machine via AHK. Normally, to do this you just hold down the Windows key and hit the letter l (lowercase L). I have tried it the following 3 ways, but none of them work: Send #l Send, {LWin Down}l{LWin Up} Send, {LWin down} Send l Send, {LWin up} Am I missing something obv...
by 09KR0058
17 Apr 2016, 18:37
Forum: Ask for Help (v1)
Topic: AHK Startup Under Windows 10
Replies: 25
Views: 63496

Re: AHK Startup Under Windows 10

Every script has a systemtray icon of it's own if it's not manually disabled by #NoTrayIcon. AHK itself doesn't have one as it just runs in the background. Don't mean to beat a dead horse here, but when I start the AutoHotkey executable at boot time, it does place an icon in the system tray. This g...

Go to advanced search