• 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
Buttons with Display Dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Buttons with Display Dialog


  • Subject: Buttons with Display Dialog
  • From: Kevin Ballon <email@hidden>
  • Date: Sun, 2 Dec 2007 15:58:13 -0500

I know how to display a dialog with buttons saying "Accept" and "Decline"
for example....

display dialog "hello world" buttons ["Accept", "Decline"]

but how do I trigger an action when the user clicks accept? In other words,
how do I get applescript to recognize that "Accept" has been clicked, then perform "insert action here".
 _______________________________________________
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

  • Follow-Ups:
    • Re: Buttons with Display Dialog
      • From: Peter Baxter <email@hidden>
    • Re: Buttons with Display Dialog
      • From: Michelle Steiner <email@hidden>
    • Re: Buttons with Display Dialog
      • From: Wayne Melrose <email@hidden>
    • Re: Buttons with Display Dialog
      • From: Wayne Melrose <email@hidden>
  • Prev by Date: Re: delaying until I'm fully "logged in"
  • Next by Date: Re: Buttons with Display Dialog
  • Previous by thread: Re: delaying until I'm fully "logged in"
  • Next by thread: Re: Buttons with Display Dialog
  • Index(es):
    • Date
    • Thread