• 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: keep dialog open beyond time out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >keep dialog open beyond time out (From: "Miguel Ortiz-Lombardía" <email@hidden>)

  • Prev by Date: keep dialog open beyond time out
  • Next by Date: Re: reading a file in an applescript.
  • Previous by thread: keep dialog open beyond time out
  • Next by thread: Re: keep dialog open beyond time out
  • Index(es):
    • Date
    • Thread