Code: Select all
#InputLevel 1 ;Both work.
1::
;~ SendLevel 1 ;Can only trigger hotkey "$3", but not hotstring "2".
Send 2
Sleep 500
Send 3
return
#InputLevel 0 ;Default
:*:2::
ToolTip 2
return
$3::ToolTip 3
So, #InputLevel 1 works fine.SendLevel wrote:Every newly launched hotkey or hotstring thread starts off with a send level equal to the input level of the hotkey or hotstring.
Effective only on hotkey.SendLevel wrote:For any event generated by a script to trigger a hook hotkey or hotstring, the send level of the event must be higher than the input level of the hotkey or hotstring.
2014-8-15:
Thread maybe relative SendLevel intermittent issues?