how to change key Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
how to change key

how to change key  Topic is solved

25 Jun 2018, 09:02

i need a script that make this
when i press a for once b=p when i press a again for once b=f when i press a again for once b=u then i back from the begging a press b=p ..b=f....
Qysh
Posts: 143
Joined: 24 Apr 2018, 09:16

Re: how to change key

25 Jun 2018, 12:17

Code: Select all

state := 1
a::
state += 1
if(state > 3)
	state := 1
return

b::
if(state == 1)
	Send, {p}
else if(state == 2)
	Send, {f}
else if(state == 3)
	Send, {u}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ntepa, vanove and 180 guests