Hotkeyit, i like that you are willing to expand the send, command, the convenience/cornerstone of AHK revolves imo about Hotkeys
so, while you are it, sometimes it bothers me that the send command triggers other hotkeys ie:
Code:
::ty:: Thank You
return
a:: send Hello
return
o:: send World
return
Typing in ty creates a rather nasty loop
So normally we would specifically have to turn off the looping key in advance:
Code:
Hotkey a, off
Hotkey o off
and turn them back on/off (tedious) one at the time, it would be nice if instead you have a overruling option between brackets to say that the following text must be send literal as is (notifies ahk to temporarily deactivate the correspondinng hotkeys found in the send string and reactivate the hotkeys after the literal text is send.
For example using quotes
Code:
::ty::{"Thank You"}
a:: send {"Hello"}
return
o:: send {"World"}
return
or if a variable is used and we dont know in advance if the variable may contain keycombo to trigger other hotkeys
for example if supplied by user:
Code:
send {%userinput%}
or
Code:
a= !
b = x
c = %a%%b%
send {%c%} ; the % between the brackets will notify ahk not only its a variable but also to turn of hotkeys that the string might contain
return
!x :: Exitapp ; will not be activated by sending %c%
thoughts?