Jump to content
Sign in to follow this  
NightCrawler86

make "timer1" = time

Recommended Posts

NightCrawler86

Basically i need to make:

$ReToolTimeBefore = ("1000")

Sleep ("$ReToolTimeBefore")

So what i want is to have $ReToolTimeBefore = 1000 or if i need to change the time i can make it what ever i want... i have a long code and i dont want to keep editing all the sleep times.

Share this post


Link to post
Share on other sites
NightCrawler86

Let me post the some of the script

"$ReToolTimeBefore" = 1000 ;<--------That is 1000 for the time to sleep

"$ReToolTimeAfter" = 2000 ;<--------That is 2000 for the time to sleep

MouseClick("right", 540, 475, 1)

Sleep ("$ReToolTimeBefore")

Send ("5")

Sleep ("$ReToolTimeAfter")

Share this post


Link to post
Share on other sites
sahsanu

Basically i need to make:

$ReToolTimeBefore = ("1000")

Sleep ("$ReToolTimeBefore")

$ReToolTimeBefore = 1000
Sleep($ReToolTimeBefore)

You should take a look to Language Reference.

Share this post


Link to post
Share on other sites
NightCrawler86

thanks for that. Yah i wasnt sure what i was looking up....

Share this post


Link to post
Share on other sites
NightCrawler86

$ReToolTimeBefore = 1000
Sleep($ReToolTimeBefore)

You should take a look to Language Reference.

That doesnt change the time limit....

Share this post


Link to post
Share on other sites
AdmiralAlkex

That doesnt change the time limit....

That sets $ReToolTimeBefore to 1000 and sleeps for 1 second. If that isn't what you want, then why doesn't you tell us what you want? :)

Share this post


Link to post
Share on other sites
NightCrawler86

That sets $ReToolTimeBefore to 1000 and sleeps for 1 second. If that isn't what you want, then why doesn't you tell us what you want? :)

Sorry. Thats what i wanted... I frgot to take out my qutation marks... It works now. Thanks again :)

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  

×