Sign in to follow this  
Followers 0
Avester

Very simple question

3 posts in this topic

I'm looking for a very simple script to make a part of a game little easier. When a hotkey, say F2 is pressed, it should move the cursor to one location (i've got the coordinates) and left-click, then to a second place and leftclick, and a third. I'm really new to this, but it should be something like:

If Keyf2 = 1 then
MouseClick ("left", x, y, speed)
sleep(30)
MouseClick ("left", x, y, speed)
etc.
EndIf

My question is how I make it react on the fact that the hotkey is pressed down. I can't find the method for that.

Share this post


Link to post
Share on other sites



Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0