Jump to content
Sign in to follow this  
dixo

Help please

Recommended Posts

dixo

how do i do so when the script is over it return to the start, becuse else i need to reopen the scrip all time...

And hten i allso whant to do so when you press F11 you close script.

Can anyone help me with this :-/?


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
azure

how do i do so when the script is over it return to the start, becuse else i need to reopen the scrip all time...

And hten i allso whant to do so when you press F11 you close script.

Can anyone help me with this :-/?

HotKeySet("F11","ExitScript")

While 1
     ;Put all your script stuff in here
     Sleep(100)
WEnd

Func ExitScript()
Exit
EndFunc
Edited by azure

Share this post


Link to post
Share on other sites
iHonda

what asure posted would basically non stop repeat your script however if you modify it just a bit you can get it to run every so often or only run x number of times just search the help file for "While" or Do.. Until those are 2 diferent types of loops and could be very useful for you ^^ sorry i know he answered your question but I felt the urge to teach you a bit more


A great place to start Autoit 1-2-3

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  

×