Re: How do you get a stay-open applet to quit?
Re: How do you get a stay-open applet to quit?
- Subject: Re: How do you get a stay-open applet to quit?
- From: Adam Bell <email@hidden>
- Date: Sun, 1 Jan 2006 21:50:54 -0400
If you had written a script and saved it as a stay-open application,
and the script included these handlers, it would work:
on run
-- do stuff when the script is started
end run
on idle
-- do more stuff every time the idle time comes around on the clock
-- this could include a quit statement as part of a decision
return 5 -- this recycles the idle handler every 5 seconds
end idel
on quit
do stuff to get out like set properties or lists to where you want them to be
continue quit
end quit
On 1/1/06, Michelle Steiner <email@hidden> wrote:
>
> On Jan 1, 2006, at 6:25 PM, David C Andrews wrote:
>
> > If you are in an idle handler, then the script does not get to your
> > quit line, since "Cancel" exits the idle handler.
>
> There isn't an idle handler in the script.
>
> --
> "To announce that there must be no criticism of the president, or
> that we are to stand by the president right or wrong, is not only
> unpatriotic and servile, but is morally treasonable to the American
> public." --Teddy Roosevelt
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Some minds remain open long enough for a truth to both enter and leave
without processing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden