• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a "wake up" detector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Is there a "wake up" detector? (From: vectormation <email@hidden>)

  • Prev by Date: Re: Creating list references in handlers. Bad code or bug?
  • Next by Date: Re: Timer
  • Previous by thread: Re: Is there a "wake up" detector?
  • Next by thread: Re: Is there a "wake up" detector?
  • Index(es):
    • Date
    • Thread