• 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: How do you get a stay-open applet to quit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How do you get a stay-open applet to quit? (From: Michelle Steiner <email@hidden>)
 >Re: How do you get a stay-open applet to quit? (From: Adam Bell <email@hidden>)
 >Re: How do you get a stay-open applet to quit? (From: Michelle Steiner <email@hidden>)
 >Re: How do you get a stay-open applet to quit? (From: David C Andrews <email@hidden>)
 >Re: How do you get a stay-open applet to quit? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: How do you get a stay-open applet to quit?
  • Next by Date: Claudio Braxmaier ist bis 08.01.2006 nicht im Büro
  • Previous by thread: Re: How do you get a stay-open applet to quit?
  • Next by thread: Re: How do you get a stay-open applet to quit?
  • Index(es):
    • Date
    • Thread