Hold down key and modifier Topic is solved

Get help with using AutoHotkey (v1.1 and older) 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: 221
Joined: 04 Apr 2017, 05:52

Re: Hold down key and modifier  Topic is solved

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 (v1)”

Who is online

Users browsing this forum: doanmvu, jomaweb, mikeyww and 205 guests