Help with making my script toggle Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
mulder427
Posts: 6
Joined: 17 Mar 2018, 04:53

Help with making my script toggle

17 Mar 2018, 04:58

Hi all

Can anyone change this script to toggle so it just holds down rather having to keep the key pressed i don't want it to repeat over and over again just to hold down q first then after hold down w at the same time until i press e again to lift it up.

e::
Send {q down}
Sleep 100
Send {w down}
KeyWait, e
Send {q up}{w up}
return

Many thanks for your help guys.
Rohwedder
Posts: 7625
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Help with making my script toggle

17 Mar 2018, 05:41

Hallo,
this?:

Code: Select all

e::
If e:=!e
{
	Send {q down}
	Sleep 100
	Send {w down}
}
Else
	Send {q up}{w up}
return
mulder427
Posts: 6
Joined: 17 Mar 2018, 04:53

Re: Help with making my script toggle  Topic is solved

17 Mar 2018, 08:59

Rohwedder wrote:Hallo,
this?:

Code: Select all

e::
If e:=!e
{
	Send {q down}
	Sleep 100
	Send {w down}
}
Else
	Send {q up}{w up}
return
Perfect thankyou my friend :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750, nacken012 and 236 guests