Help regarding a QOL change for my script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
EB32
Posts: 14
Joined: 08 Feb 2017, 16:10

Help regarding a QOL change for my script

10 Dec 2017, 16:41

I need a script to hold the Ctrl key down and spam "E"

My script looks like this:

F10:: ;F10 starts script
send {ctrl down}
loop {
send e
sleep 100
}
F11::reload ;F11 reloads the script, which stops the loos in the process
F12::exitapp ;F12 closes the program

However, when I reload or kill the script using F11 or F12, the Ctrl key is still being held down. I have to manually press Ctrl after pressing F11 or F12 in order to get it to stop. Is there any command that can do this for me?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 317 guests