• 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
Why doesn't this script run?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why doesn't this script run?


  • Subject: Why doesn't this script run?
  • From: Jeffrey Madson <email@hidden>
  • Date: Tue, 05 Mar 2013 16:20:27 -0600

There are a lot of things I want to do with this script but the first is getting this part to function. Why don't I get a "you guessed it" and a couple of beeps if I select Asia?


set the region_list to {"North America", "South America", "Europe", "Asia"}

set the region to ¬

(choose from list region_list ¬

with prompt ("Choose Your Region:") ¬

default items {"Wayne"}) as string

if the region is false then error number -128

return region

if (text returned of "Asia") is "Asia" then

beep

display dialog "you guessed it"

beep

end if

 _______________________________________________
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: Why doesn't this script run?
      • From: Christopher Stone <email@hidden>
    • Re: Why doesn't this script run?
      • From: Stan Cleveland <email@hidden>
    • Re: Why doesn't this script run?
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: UIerror
  • Next by Date: Re: Why doesn't this script run?
  • Previous by thread: Re: Location of InDesign Library window while script is running
  • Next by thread: Re: Why doesn't this script run?
  • Index(es):
    • Date
    • Thread