Re: Quitting from an idle handle
Re: Quitting from an idle handle
- Subject: Re: Quitting from an idle handle
- From: Donald Hall <email@hidden>
- Date: Sun, 7 Aug 2005 23:54:09 -0600
Title: Re: Quitting from an idle
handle
Try adding this line after 'tell me to quit':
error -128
This is the "user canceled" error.
Don
At 11:49 PM -0600 2005/08/07, Gil Dawson wrote:
Thanks for the suggestion.
After tinkering with it a bit I realize that I had misdiagnosed my
problem. My problem is that I have not figured out how to quit
a
stay-open script.
Consider the following saved as a stay-open application:
FatalError("Please stop.")
on FatalError(msg)
display dialog
"Fatal Error:" & msg buttons "OK" with icon
stop
tell me to quit
error "He didn't quit. "
end FatalError
I am using Smile 2.6.9 and MacOS 10.4.2. When launched on my
machine
by double-clicking its icon, this little script displays the
"Fatal
error: "Please stop." dialog, then another dialog with
"He didn't
quit". After that it does nothing, but remains an active
process
with an icon in my dock.
I don't want it to remain an active process. I want it to
quit.
How can I get it to quit?
--Gil
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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