Sign in to follow this  
Followers 0
Cataldo

Simple macro?

2 posts in this topic

#1 ·  Posted (edited)

Well, im trying to learn..

Can somone help out on making a macro that will press W like every .1 seconds..

And it needs to work with gunz?

Im not sure how this would work

My friend helped me with this..

Makes me do the ButterFly

WinActivate("Gunz")

WinWaitActive("Gunz")

HotKeySet("c", "QStep")

Global $paused = true

Func QStep()

$paused = false

Send("{SPACE}")

Send("w")

Send("w")

MouseDown("left")

Send("2") ;Set this to one of your buttons that will switch to a GUN

Send("{SPACE}")

Send("w")

Send("w")

$paused = true

EndFunc

While $paused = true

Sleep(500)

WEnd

I just want it to press W every .1 second in gunz..?

Edited by Cataldo

Share this post


Link to post
Share on other sites

While 1
SendKeepActive("Gunz", "", "W")
WEnd

I'm not sure if this code works, its untested, but look up the command SendKeepActive in AutoIt's helpfile.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0