Hold down key and modifier

Get help with using AutoHotkey and its commands and hotkeys
Shade4Real1111

Hold down key and modifier

20 Jun 2018, 00:42

I am trying to send 81Xm down for 300 miliseconds but I cant get it to capitalize X
I know i can do sendinput, X but i want it to be held down

Code: Select all

Sendinput, {8 down}
Sendinput, {1 down}
Sendinput, {Shift}{X down}
Sendinput, {m down}
sleep, 300
Sendinput, {8 up}
Sendinput, {1 up}
Sendinput, {Shift}{X up}
Sendinput, {m up}
User avatar
DyaTactic
Posts: 183
Joined: 04 Apr 2017, 05:52

Re: Hold down key and modifier

20 Jun 2018, 14:20

Try

Code: Select all

Sendinput, {8 down}
Sendinput, {1 down}
Sendinput, {Shift Down}{X down}
Sendinput, {m down}
sleep, 300
Sendinput, {8 up}
Sendinput, {1 up}
Sendinput, {X up}{Shift Up}
Sendinput, {m up}


Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], TAC109, wyw and 48 guests