• 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: Stay Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stay Open


  • Subject: Re: Stay Open
  • From: "Marc K. Myers" <email@hidden>
  • Date: Tue, 02 Jan 2001 01:40:28 -0500
  • Organization: [very little]

Stephen Swift wrote:> Date: Mon, 01 Jan 2001 22:47:08 -0500
> Subject: Stay Open
> From: "Stephen Swift (aka Burnum)" <email@hidden>
> To: AppleScript <email@hidden>
>
> Why would you want to save a script application and check the 'Stay Open'
> option. I've been trying to figure out some use for that.
> What does it do?
> Does it have anything to do with watching the actions on the computer or
> anything?

"Stay Open" script applications are used in conjunction with idle
handlers. An idle handler performs any action that a script can do and
then "goes to sleep" for a specified period of time, after which it does
the same thing all over again, until the script shuts itself down or
somebody quits it. It performs a "slow loop", without the disadvantages
of putting cycle-eating loops in scripts. A typical use would be to
monitor something like a process being active or a folder having files
or who's logged on.

Marc [1/2/01 1:40:00 AM]


  • Prev by Date: Re: applescript-users digest, Vol 2 #174 - 12 msgs
  • Next by Date: Re: applescript-users digest, Vol 2 #174 - 12 msgs
  • Previous by thread: Re: Stay Open
  • Next by thread: Re: Stay Open
  • Index(es):
    • Date
    • Thread