Re: Is there a "wake up" detector?
Re: Is there a "wake up" detector?
- Subject: Re: Is there a "wake up" detector?
- From: Sander Tekelenburg <email@hidden>
- Date: Tue, 2 Oct 2001 14:29:09 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 02:23 -0400 UTC, on 01-10-2001, Marc K. Myers wrote:
[...]
>
Is there any sort of Apple Event that gets sent when a machine wakes up
>
that could be used to trigger a handler in an idled script?
This works for me under OS 9.1 with AS 1.6
on +event pmgtwake;
-- do stuff
end +event pmgtwak;
[Beware of our mailing list's chevron mangler ;)]
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBO7j3x+sywKfXgqKdEQIMkgCg9rupKQFDSOv5MPXXKsKhx9YIEEYAniex
GnqWSFdNNOM4fCUdVvOXfdLv
=0DgB
-----END PGP SIGNATURE-----