Code: Select all
R::
Send, {R}
KeyWait, R
Send, {R}
return
Code: Select all
R::
Send, {R}
KeyWait, R
Send, {R}
return
Code: Select all
!^m::r
r::
Send, R ; do you really mean to send a shifted R?
KeyWait, r
KeyWait, m
Send, R ; same
return
Code: Select all
<^<!b::r
r::
Send, R
KeyWait, R
KeyWait, B
Send, R
return
This is usually only necessary if the script uses the Send command to send the keys that comprise the hotkey itself, which might otherwise cause it to trigger itself. The $ prefix forces the keyboard hook to be used to implement this hotkey, which as a side-effect prevents the Send command from triggering it. The $ prefix is equivalent to having specified #UseHook somewhere above the definition of this hotkey.
Code: Select all
<^<!b::
$r::
Send r
KeyWait, r
KeyWait, b
Send r
Return