1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Applescript - Time limit on display dialogs

Discussion in 'Mac Programming' started by dryJ, Jun 2, 2009.

  1. macrumors newbie

    Is there a way to put a time limit on a display dialog, so if I don't hit "OK", it will disappear after, say, 30 seconds?

    This is my display stuff, fairly basic :p
    display dialog message_en1 buttons "OK" default button "OK"
  2. macrumors 65816


    This will work:

    display dialog "Hello, World!" giving up after 10
    10 is for seconds

  3. macrumors newbie

    Thanks for the help.

Share This Page