How to use SendInput to Activate a Text Hotkey

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jwinfl
Posts: 89
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 (v1)”

Who is online

Users browsing this forum: haomingchen1998 and 237 guests