Hi, I'm having difficulty figuring out how to create an alternating command and would appreciate any help.
Basically if I press F1 once, I want it to then do <^<+<!1
If I press is again, I want it to then do <^<+<!2
If I press a third time, i want it to go back to <^<+<!1 etc etc
thanks in advance
alternating commands Topic is solved
Re: alternating commands Topic is solved
Adjust as needed.
Code: Select all
F1::Send % (toggle := !toggle) ? "1" : "2"
Re: alternating commands
thanks!mikeyww wrote: ↑03 Apr 2021, 20:05Adjust as needed.
Code: Select all
F1::Send % (toggle := !toggle) ? "1" : "2"
Who is online
Users browsing this forum: peter_ahk and 342 guests