Sign in to follow this  
Followers 0
353aefaa

make the script repeat after sleep(1000)

2 posts in this topic

how do i make it run the script again

ex i have:

If ProcessExists ($PROExe)Then

Sleep(100)

Send("{ENTER}")

Else

Sleep(13000)

Run= ($link to the script)

EndIf

/\ that wont work because the script is already open and screwes it up...

lets say i have the coding

a

asd

asd

asd

as

ends here...

now ineed to make it restart from the top

and what if i have

a

asd

asd

ends here (back to 1st line)

asd

as

and ends here (back to 1st line)

idk if u guys can understand what im saying :P plz help

thanks

Share this post


Link to post
Share on other sites



while 1
If ProcessExists ($PROExe)Then 
Sleep(100)
Send("{ENTER}")
Else
Sleep(13000)
Run= ($link to the script)
EndIf
wend

This will loop forever.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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