Re: Exit repeat on quit
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.