Posted: Tue Apr 09, 2019 9:35 am Post subject: Problem using Sleep. What else can I use?
I've notice that while using Sleep it can sometimes prevent the line of code before it from running Which breaks the script.
So If I issue a command in my code. Then have it sleep right after on the next line. Since Sleep stops the script from running while it sleeps. The command may not have finished doing what its suppose to do before the script goes to sleep. Which then breaks things.
What other options can I use to have my script wait without going to sleep? Thanks!
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
Posted: Tue Apr 09, 2019 9:40 am Post subject: Re: Problem using Sleep. What else can I use?
AmyGrrl wrote:
I've notice that while using Sleep it can sometimes prevent the line of code before it from running Which breaks the script.
So If I issue a command in my code. Then have it sleep right after on the next line. Since Sleep stops the script from running while it sleeps. The command may not have finished doing what its suppose to do before the script goes to sleep. Which then breaks things.
What other options can I use to have my script wait without going to sleep? Thanks!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum