Just A Quick Review

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kmorales13
Posts: 2
Joined: 17 Sep 2021, 13:24

Just A Quick Review

17 Sep 2021, 13:28

I have a pretty simple ahk script I use to help annotate images and often I get it missing keystrokes which I've read may indicate a typo or some other error with the script and was hoping to get someone to take a look at it and let me know where I went wrong.

Code: Select all

#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
;Optimization end

NumpadClear::
Send, {Enter}
return

NumpadLeft::
Send, b
return

NumpadRight::
Send, s
return

NumpadEnd::
Click 890 702
Sleep 200
Click, 758 272
Sleep 100
Send, {Enter}
return

NumpadPgDn::
Click, 1010 730
return

NumpadDown::
Click
return
Please let me know if there are any additional details that might be helpful. Thank you.
kmorales13
Posts: 2
Joined: 17 Sep 2021, 13:24

Re: Just A Quick Review

17 Sep 2021, 14:00

I did just notice the missing comma on line 29, but if there’s any other issues, please let me know. Thanks!
User avatar
mikeyww
Posts: 26862
Joined: 09 Sep 2014, 18:38

Re: Just A Quick Review

17 Sep 2021, 18:42

I would delete the first 15 lines and then see how it works for you. Test in Notepad to see whether your hotkeys work there first.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], mmflume, scriptor2016, ShatterCoder and 141 guests