Code: Select all
For example:
1. a sleep command, for 10 minutes, activates in your script
eg
"Sleep, 60000 ; ten minutes"
"msgbox, Sleep time now completed"
2. In one minute, The computer itself goes to sleep while there is still 9 minutes remaining in the script sleep command
3. Computer wakes up an hour later.
The sleep command is timed out with no time left in the sleep command.
The 9 minutes timed out while the computer was asleep.
The message in the above example will display immediately after the computer wakes up.