.
.
Spoiler
Code: Select all
$^a::
Send, {a Up}
Hotkey, *a, Return, On
KeyWait, Ctrl
IF GetKeyState("a","P")
{
KeyWait, a
Send, {F2}
}
Else
Send, ^a
Hotkey, *a, Return, Off
Return:
Return
Code: Select all
A2 01D d 12.91 LControl
41 01E h d 0.00 a
A2 01D i u 0.00 LControl
41 01E i u 0.00 a
A2 01D i d 0.03 LControl
A2 01D u 0.05 LControl
41 01E s u 0.00 a
A2 01D i d 0.01 LControl
41 01E i d 0.00 a
41 01E i u 0.00 a
A2 01D i u 0.02 LControl
Code: Select all
$^a::
Hotkey, *a, Return, On
KeyWait, a
Hotkey, *a, Return, Off
KeyWait, Ctrl
Send,% (TCtrl < TA)?"{F2}":"^a"
Return:
Return
~*Ctrl Up::TCtrl := A_TickCount
~*a Up::TA := A_TickCount
Code: Select all
$^a::
Hotkey, *a, Return, On
KeyWait, a
Hotkey, *a, Return, Off
KeyWait, Ctrl
Send,% (TCtrl <= TA)?"{F2}":"^a"
Return:
Return
~*Ctrl Up::TCtrl := A_TickCount
~*a Up::TA := A_TickCount
Users browsing this forum: balawi28, Google [Bot] and 248 guests