Invalid hotkey Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
brandoncc

Invalid hotkey  Topic is solved

20 Apr 2018, 14:33

Hello,

I can't figure out why this results in "Invalid hotkey". I would really rather have ^j followed by 1 (separately), but I will accept having to press all three keys at once. Unfortunately, I can't get that to work.

Code: Select all

^j & 1:: ; Navigate to enter ticket # screen
    BlockInput, On
    Send {Esc 10}
    Send {^ DownTemp}^{F3}
    Send KM{Enter}
    Send {! DownTemp}!pf
    BlockInput, Off
Return
Thanks in advance.
Rohwedder
Posts: 7646
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Invalid hotkey

21 Apr 2018, 00:33

Hallo,
try:

Code: Select all

#If GetKeyState("Ctrl","P")
j & 1:: ; Navigate to enter ticket # screen
    BlockInput, On
    Send {Esc 10}
    Send {^ DownTemp}^{F3}
    Send KM{Enter}
    Send {! DownTemp}!pf
    BlockInput, Off
Return
#If
or Helgef's LongHotkeys (a & b & c & ...): https://autohotkey.com/boards/viewtopic.php?f=6&t=24145

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada and 302 guests