Jump to content

Recommended Posts

Posted (edited)

I need helping getting Alternating key presses to work in a game I play

#include <misc.au3>

While True
If _IsPressed("A2") Then
  MouseClick("left")
  Sleep(10)
  Send("2")
EndIf
WEnd

Where 2 is, I want it to alternate between 2 and 3

So the first time through it'll be 2, then the second time I press control it'll loop through but press 3

etc

Edited by BubbaFresh
Guest
This topic is now closed to further replies.
×
×
  • Create New...