I have some code which uses a toggle. It uses the same key to turn on the toggle and turn off. The toggle works fine.
At the top of my ahk file I have this code to manually reload the script which does cancel any on-going toggles:
Code: Select all
Numpad0::
Reload
Exitapp
Code: Select all
var =
(
/exit
)
;--- Function will paste any text that is the variable called var
SendInput {enter}
Send_Using_Paste(var)
SendInput {enter}
Send !{Numpad0}
Can someone point out the error please?
Thanks.