Sign in to follow this  
Followers 0
HeSoldierX

[HELP] how to create macros?

4 posts in this topic

hi,

i would like to create a script (also know as a macro) that when executed/activated, it presses repeatedly a key from the keyboard (ie the key "s") until i stop the script (macro). can someone help me to code this. many thanks.

HeSoldier

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

While True
    Send("s")
WEnd

and btw: dont mix up the autoitmacros with an autoitscript plz. read the helpfile for more information.

Edited by tmo

Share this post


Link to post
Share on other sites

Yes. We use scripts. They are much better than any macro you will ever find.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

While True
    Send("s")
WEnd
wow, so simple yet so affective, many thanks tmo!!!!! Edited by HeSoldierX

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