Re: Run Script upon Waking?
Re: Run Script upon Waking?
- Subject: Re: Run Script upon Waking?
- From: Arthur J Knapp <email@hidden>
- Date: Fri, 30 Nov 2001 11:19:40 -0500
>
Date: Thu, 29 Nov 2001 08:51:03 -0800 (PST)
>
From: Brian Johnson <email@hidden>
>
Subject: Re: Run Script upon Waking?
>
I ran into this a while back. There is at least one product out there that
>
can be configured to run scripts at sleep and wake (sorry, can't find the
>
link). Obviously, I didn't use it. I use the IdleTime extension originally
>
written by Frontier, but included with several other installs as well, as
>
I needed simply to do something after specific periods of inactivity on
>
the machine, not necessarily long enough to trigger sleep.
>
On Thu, 29 Nov 2001, Gnarlodious wrote:
>
> Is there a way to run a script when the OS wakes from its narcolepsy? It
>
> would be similar to the "Startup Scripts" idea.
It's a real shame that the Finder's (execution state) command doesn't
report on the awake/sleep state. If it did, stay-open script applets
could be made to test for when the sleep state changes, via an idle
handler.
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://www.lazerware.com/>
on error number -128
end try
}