Jump to content
Sign in to follow this  
xxfxx

timers and global options

Recommended Posts

xxfxx

ok i have all the scripting down again now that i have been useing au3 and wow i love it, its better then i eaver rember. but now

i am trying to figure out how to set the script up to run on say it runs the script for what eaver in a loop cycle as in the code

Func TogglePause()

$Paused = Not $Paused

While $Paused

Sleep(10000)

Send("{F3 down}")

Sleep(10000)

but now im trying to say it runs the script on the cycle like it has and i want it to run for one hour and then pause or shut down the script.

Share this post


Link to post
Share on other sites
PsaltyDS

Look at TimerInit() and TimerDiff() to check elapsed time.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
xxfxx

Look at TimerInit() and TimerDiff() to check elapsed time.

:)

DO WHAT ok i dont kow what u mean sory

Share this post


Link to post
Share on other sites
PsaltyDS

DO WHAT ok i dont kow what u mean sory

Read the help file on the AutoIt functions TimerInit() and TimerDiff(). They even have demo scripts. If you haven't done it already, do the tutorial exercises in the help file to familiarize yourself with AutoIt.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
xxfxx

Read the help file on the AutoIt functions TimerInit() and TimerDiff(). They even have demo scripts. If you haven't done it already, do the tutorial exercises in the help file to familiarize yourself with AutoIt.

:)

yea iv read the files ill do it again maybe i just misd something ty for the info ill let ya know if it helps

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  

×