Re: keep dialog open beyond time out
Re: keep dialog open beyond time out
- Subject: Re: keep dialog open beyond time out
- From: Christopher Nebel <email@hidden>
- Date: Thu, 27 Mar 2008 13:56:24 -0700
On Mar 27, 2008, at 9:20 AM, Miguel Ortiz-LombardÃa wrote:
I have written a script that performs some lengthy work and at the
end of it pops up a dialog with some information. Because it takes
long to end, I normally leave the computer doing it unattended. The
problem is that when I'm back the dialog has closed after an "apple
event timed out" error . I can avoid the error by wrapping the
dialog as here:
try
display dialog "Hello..."
on error
-- continue
end try
But the problem is that this way, although I don't get the error
message, the dialog closes anyway and I loose that information. I
could write it to a file, I know, but I would prefer to keep it in
the dialog. Is there a way, then, to keep a dialog open indefinitely?
With stock AppleScript, no -- or at least, not unless you want to
either keep the application running (and blocked) indefinitely or
rewrite the whole thing in Studio. However, this is the kind of
problem Growl <http://growl.info> was designed to solve.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden