• 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: if-else statements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if-else statements


  • Subject: Re: if-else statements
  • From: Steve Mills via AppleScript-Users <email@hidden>
  • Date: Sun, 24 Nov 2019 13:06:15 -0600

> On Nov 24, 2019, at 13:00, iKel via AppleScript-Users
> <email@hidden> wrote:
>
> if the dialog_result is {7} then
>         display dialog "You win!" buttons {"OK"} default button {"OK"}
> else
>       set the unluckyNumber to the dialog_result
>       display dialog the unluckyNumber & " is an unlucky number."
> end if

Steve via iPad

 _______________________________________________
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: 
 >if-else statements (From: iKel via AppleScript-Users <email@hidden>)

  • Prev by Date: if-else statements
  • Next by Date: Re: if-else statements
  • Previous by thread: if-else statements
  • Next by thread: Re: if-else statements
  • Index(es):
    • Date
    • Thread