• 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: Exit repeat on quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exit repeat on quit


  • Subject: Re: Exit repeat on quit
  • From: Olivier Destrebecq <email@hidden>
  • Date: Tue, 16 Apr 2002 10:46:20 -0500

This is just wild speculation here. But did you try to have a quit handler set a global in your script and have your loop monitor this global to know when to quit.

I doubt that it might work, but who knows.

Olivier
On Tuesday, April 16, 2002, at 05:10 AM, email@hidden wrote:

I want my script to quit even if it is in the middle of a long repeat
process. So how do I tell it to exit the repeat as soon as the user tells
it to quit?

I would wonder how the user will tell the script to quit if the script is
currently executing a repeat loop. Isn't the repeat loop hanging the
machine?

Emmanuel
_______________________________________________

Ahh, forgot to mention I use OS X 10.1.3 and AS 1.8.1. Even when the script is hard at work with a repeat loop the user can simply select Quit from the menu or Command-Q it. In pre-OS X systems I can imagine that a loop would lock up the application but not in OS X.

/pontus

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Exit repeat on quit
      • From: Christopher Nebel <email@hidden>
References: 
 >RE: Re: Exit repeat on quit (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: When a String is not equal to a String
  • Next by Date: setting list view column width?
  • Previous by thread: RE: Re: Exit repeat on quit
  • Next by thread: Re: Exit repeat on quit
  • Index(es):
    • Date
    • Thread