How to use SendInput to Activate a Text Hotkey

Get help with using AutoHotkey and its commands and hotkeys
jwinfl
Posts: 29
Joined: 16 Aug 2017, 12:37

How to use SendInput to Activate a Text Hotkey

21 Apr 2018, 12:58

For Example...

SendInput qqXXX{space}
SendInput #D
return

::qqXXX::
SendInput XXX1
return

#X::
SendInput XXX2
return

qqXXX space gets sent but it doesn't activate the qqXXX hotkey resulting in qqXXX space being printed not XXX1.

#X gets sent, erased and then activates the hotkey resulting in XXX2 instead of #X.

I am trying to send a text hotkey to Notepad++ and have it type the text their and execute that hotkey.

Any help would be appreciated. Thank you.

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], potscrubber, s-ve-n and 76 guests