Hello People,
I’ve been studying this forum for several weeks now and have written my first script without consulting the manual (lazy). Many thanks for that.
What I can’t seem to find is how I can schedule a script to run when OS9.1 wakes up after putting it to sleep (NOTE: Not at startup, that would be easy). I looked at scheduling but could find no answer (but I am a dumb user ).
The reason I want this is that my internet connection via aeropad failed to startup after the Mac was in sleep mode and I had to write a script to do all the boring things to get it connected again. Now I’d like to eliminate the last boring task and have my script activate automatically.
I was intending to write a script with an idle routine which runs forever with an x second delay loop and if the time difference before and after delay was > x seconds, call my other reactivate script. I understand that it wouldn’t always work but that’s all I could think of.
Is there a “woken up” event of some kind I could use and if so, how?