I have assigned even "regular" a...z / 1...0 keys to routines, for special situations; as I said in another hint, this is possible on a fast pc, even for quite fast typing:
Code: Select all
$a::
if ...
gosub, ...
else
send, a ; so this should be sendevent, a
return
Code: Select all
input, e, L1 T1.3, {esc}
; maxlength=1 char, timeout=1.3s, esc will terminate
if ( errorlevel != "Max" )
return
if ( e = "..." )
etc.
Thus, I tried the different variants of "send", with the result that send, sendinput, sendplay, sendraw in a key assignment all prevent sending the keystroke within the "input" command, whilst sendevent does not; this behavior is persistent between different keys, "a" being just an example here. Hence:
If you intent to also use a key within the "input" command, use sendevent to send the key in a possible key assignment for that key.