Re: Stay Open
Re: Stay Open
- Subject: Re: Stay Open
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 01 Jan 2001 20:01:45 -0800
On 1/1/01 7:47 PM, "Stephen Swift (aka Burnum)" <email@hidden> wrote:
>
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?
It takes several seconds for an applet to open every time, and some amount
of time to quit as well, which gets in the way if you need to call it
immediately again, or simply by holding up other events on the computer.
It's just like any application that way. If you want an instantaneous
response after first opening it, leave it open and call a handler in the
open applet for each successive time you need it, which could be many. It
will then do your bidding immediately, instead of after 4 or 5 seconds.
I was pleased to discover that the new 'on reopen' command handler in OS 9
works wonderfully for that purpose. It is not just a device for droplets. If
you call the 'active handler', the one that does the work, inside the reopen
handler, then you can just double-click the applet, or select it in the
Apple Menu, and it seems to run then just as fast as a compiled script in
OSA Menu or in an application with an internal scripts menu.
--
Paul Berkowitz
References: | |
| >Stay Open (From: "Stephen Swift (aka Burnum)" <email@hidden>) |