• 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: Variables & quotes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables & quotes


  • Subject: Re: Variables & quotes
  • From: Steve Thompson <email@hidden>
  • Date: Wed, 23 Sep 2009 22:02:26 +0100


On 23 Sep 2009, at 21:35pm, Jeremy Matthews wrote:

set myresult to (choose from list theCalendarNames with prompt "Choose the calendar to receive events:")

This returns a list. You need to


set myresult to item 1 of (choose from list theCalendarNames with prompt "Choose the calendar to receive events:") as text


Hope this helps


Steve
 _______________________________________________
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: 
 >Variables & quotes (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Applescript compatibility under Snow Leopard
  • Next by Date: Re: Variables & quotes
  • Previous by thread: Variables & quotes
  • Next by thread: Re: Variables & quotes
  • Index(es):
    • Date
    • Thread