• 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: Timeout for display dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timeout for display dialog?


  • Subject: Re: Timeout for display dialog?
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 17 Sep 2001 12:38:19 -0700

On 9/17/01 12:18 PM, "Matthew Broms" <email@hidden> wrote:

> Does the display dialog command have a time-out parameter? If not, is there
> any simple work-around for displaying a message and then the script
> continuing on if no one is around to respond?
>
It has a "giving up" parameter, at least since about OS 8.5 or so. (It will
just get ignored, rather than erroring, in earlier OS's.) It takes integers,
and they mean "seconds".

display dialog "Hello!" with icon 1 giving up after 4 -- 4 seconds

if gave up of result then display dialog "Fooey! I missed you." with
icon 2 giving up after 12503 -- it'll be up a _long_ time

--
Paul Berkowitz


References: 
 >Timeout for display dialog? (From: Matthew Broms <email@hidden>)

  • Prev by Date: Timeout for display dialog?
  • Next by Date: Re: Timeout for display dialog?
  • Previous by thread: Timeout for display dialog?
  • Next by thread: Re: Timeout for display dialog?
  • Index(es):
    • Date
    • Thread