1.ahk
Code: Select all
LWin::^+a
Code: Select all
^+a::Send XXX
Thank you for your help!
Code: Select all
LWin::^+a
Code: Select all
^+a::Send XXX
Code: Select all
#InputLevel, 1 ; The following hotkeys will have higher level.
LWin::^+a
#InputLevel, 0 ; To add hotkeys with normal level after this.
Code: Select all
^+a::
Send, XXX
return
LWin::
SendInput, ^+a
return
Code: Select all
^+a::
Send, XXX
return
LWin::
SendInput, ^+a
return
It's making the Shift key stucksurfactant wrote: ↑04 Jul 2021, 03:05@safetycar Thank you for your solution!
But it's odd what I got are inconsitent results when pressing LWin again and again:
XX
XX
xXX
xXX
XX
XX
xXX
XX
xXX
Code: Select all
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
That's strange, it is working for me... Did you exit your first script and only run this one? Because if the two scripts using LWin are running the hotkey won't work.surfactant wrote: ↑04 Jul 2021, 03:10@necomerxWith your codes above, pressing LWin gives nothing. Thanks!Code: Select all
^+a:: Send, XXX return LWin:: SendInput, ^+a return