Hold Shift key and Press multi key. Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Conan_KLOP
Posts: 2
Joined: 23 Jun 2018, 12:00

Hold Shift key and Press multi key.

23 Jun 2018, 12:08

Hello everyone.
I need Press Shift key, then Press W E R F 1 2 3 4, then release Shift. It's for game which I play.
This is my code and it's not work.

Code: Select all

:*:8::
Label3:
{
send, {Shift down}
sleep, 100
send w
sleep, 300
send 1
sleep, 300
send f
sleep, 20
send, {Shift up}

}
Rohwedder
Posts: 7630
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Hold Shift key and Press multi key.  Topic is solved

24 Jun 2018, 01:54

Hallo,
try:

Code: Select all

:*:8::
Label3:
{
send, {Shift down}
sleep, 100
send {Blind}w
sleep, 300
send {Blind}1
sleep, 300
send {Blind}f
sleep, 20
send, {Shift up}

}
Conan_KLOP
Posts: 2
Joined: 23 Jun 2018, 12:00

Re: Hold Shift key and Press multi key.

24 Jun 2018, 03:39

Thank you. I want Press 8, and script play. And then it played to last line, i can press 8 to replay. When it play in mid line of script, i can't press 8 and the code not play.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: RandomBoy, Theda and 266 guests