Hi
I'm struggling to create a macro that allows me to do the following:
Pressing Mouse 2, presses mouse 2 but also sends 'e'.
Whilst also having a loop that sends ctrl+t every 10.72 seconds.
Any help please?
RButton and loop help?
Re: RButton and loop help?
Code: Select all
#Requires AutoHotkey v2.0
ct := () => Send('^t')
~RButton::e
F3:: {
Static on := False
If on := !on
SetTimer(ct, 10720), ct()
Else SetTimer(ct, 0)
SoundBeep 1000 + 500 * on
}
Re: RButton and loop help?
Hallo,
or:
or:
Code: Select all
#Requires AutoHotkey v2.0
~RButton::e
F3:: {
Static I := False, T := Send.Bind("^t")
SetTimer(T, 10720 * I := !I), I && T()
SoundBeep 1000 + 500 * I
}
Re: RButton and loop help?
Thank you so much, you legend!
Who is online
Users browsing this forum: jooolius and 14 guests