Jump to content
Sign in to follow this  
353aefaa

make the script repeat after sleep(1000)

Recommended Posts

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.



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...