NightCrawler86 0 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. Share this post Link to post Share on other sites
NightCrawler86 0 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") Share this post Link to post Share on other sites
sahsanu 28 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. Share this post Link to post Share on other sites
NightCrawler86 0 Posted March 26, 2011 thanks for that. Yah i wasnt sure what i was looking up.... Share this post Link to post Share on other sites
NightCrawler86 0 Posted March 26, 2011 $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 125 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 Share this post Link to post Share on other sites
NightCrawler86 0 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 Share this post Link to post Share on other sites