Re: Stay Open
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]