Re: Is there a "wake up" detector?
Re: Is there a "wake up" detector?
- Subject: Re: Is there a "wake up" detector?
- From: Jon Pugh <email@hidden>
- Date: Tue, 2 Oct 2001 21:37:38 -0700
At 8:26 PM -0400 10/2/2001, vectormation wrote:
>
Am I misunderstanding how this event should be applied?
I think you need an idle handler. I don't recall what the default is.
Here's a script that works for me:
on +event pmgtwake;
display dialog "I'm awake!" buttons "OK" default button "OK"
end +event pmgtwake;
on idle
return 1 -- sleep for 1 second
end idle
Have fun.
Jon