Re: keep dialog open beyond time out
Re: keep dialog open beyond time out
- Subject: Re: keep dialog open beyond time out
- From: Ed Stockly <email@hidden>
- Date: Thu, 27 Mar 2008 09:35:51 -0700
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 something like this:
with timeout of 60 seconds repeat set dialogResult to display dialog "Hello..." giving up after 50 if gave up of dialogResult is false then return dialogResult end if end repeat end timeout
hth,
ES =
|
_______________________________________________
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