Re: Is it possible to set up an 'instant' idle handler
Re: Is it possible to set up an 'instant' idle handler
- Subject: Re: Is it possible to set up an 'instant' idle handler
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 08 Oct 2002 16:26:11 -0700
On 10/8/02 3:35 PM, "John Delacour" <email@hidden> wrote:
>
>
By definition once an stay-open application has launched it goes into
>
idle mode. If there is an idle routine, this will execute.
Not quite. If there is a main, top-level script, that will execute first.
When that completes, then the applet goes into idle mode. I have a script
which needs to ask the user to choose a number of preferences, in the main
script. Those choices set a few global variables which are available to the
idle handler when it does its thing. There's one remaining global which gets
incremented on each idle run until it reaches a predetermined final
iteration, then goes to a quit handler.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.