Inconsistan execution?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
iokiangel
Posts: 2
Joined: 09 Dec 2017, 17:49

Inconsistan execution?

09 Dec 2017, 17:54

I have some basic code that I just want to left click 5 times then press e but it's not exactly doing it in that order. Any help?
NumPad1::
Loop{
GetKeyState, state, NumPad2, P
if state = D
break


Loop, 5{
SEND {Click}
Sleep 200
}
SEND, {e DOWN}
SEND, {e UP}
}
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: Inconsistan execution?

09 Dec 2017, 18:04

It seems to work consistently for me. What results are you getting? BTW, you might also try sending {LButton} instead of {Click}.
iokiangel
Posts: 2
Joined: 09 Dec 2017, 17:49

Re: Inconsistan execution?

09 Dec 2017, 18:07

Osprey wrote:It seems to work consistently for me. What results are you getting? BTW, you might also try sending {LButton} instead of {Click}.
Basically i'm trying to do some stuff on a game called Terraria. I will click 4 times then e or 3 times then e. I'll try out LButton

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Dobbythenerd1 and 342 guests