binding PgUp to Control + Z

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
stevedd
Posts: 1
Joined: 18 Mar 2018, 13:34

binding PgUp to Control + Z

18 Mar 2018, 13:38

Hi, this is my code

Code: Select all

*PgUp::

SetKeyDelay -1   ; If the destination key is a mouse button, SetMouseDelay is used instead.

Send {Blind}{Control DownTemp}{z DownTemp}  ; DownTemp is like Down except that other Send commands in the script won't assume "b" should stay down during their Send.

return
my issue is that, my code doesn't release the control key after it is pressed. thank you for your help
Rohwedder
Posts: 7645
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: binding PgUp to Control + Z

19 Mar 2018, 02:05

Hallo,
try:

Code: Select all

PgUp::^z

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: downstairs, filipemb, OrangeCat and 166 guests