NightCrawler86 Posted March 26, 2011 Posted March 26, 2011 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.
NightCrawler86 Posted March 26, 2011 Author Posted March 26, 2011 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")
sahsanu Posted March 26, 2011 Posted March 26, 2011 Basically i need to make: $ReToolTimeBefore = ("1000") Sleep ("$ReToolTimeBefore") $ReToolTimeBefore = 1000 Sleep($ReToolTimeBefore) You should take a look to Language Reference.
NightCrawler86 Posted March 26, 2011 Author Posted March 26, 2011 thanks for that. Yah i wasnt sure what i was looking up....
NightCrawler86 Posted March 26, 2011 Author Posted March 26, 2011 $ReToolTimeBefore = 1000 Sleep($ReToolTimeBefore) You should take a look to Language Reference. That doesnt change the time limit....
AdmiralAlkex Posted March 26, 2011 Posted March 26, 2011 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? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
NightCrawler86 Posted March 26, 2011 Author Posted March 26, 2011 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now