Morning All!
I have a script that uses an on idle section to wait four hours before repeating. Such as:
on idle
set itunesActive to false
run script file (theScript as string)
return 14400
end idle
How is something like this affected by my computer going to sleep? I know it won’t run anything while the computer is asleep, but will the timer keep ticking? Pause until the computer wakes up and then start where it left off? Get totally whacked and have no idea what it’s doing any more?
For example, the script runs and then gets one hour into it’s wait time. The computer goes to sleep and wakes up five hours later for a total of six hours lapsed. Does the script think only one hour has passed and start working on the last three or think six hours has passed and is working toward eight? Or, on the other hand, does it think the space-time continuum has been rent to shreds?
Thanks,
T.