• 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: Considerable simplification should be possible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Considerable simplification should be possible


  • Subject: Re: Considerable simplification should be possible
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 29 Apr 2014 11:26:09 +1000

On 29 Apr 2014, at 10:29 am, Stan Cleveland <email@hidden> wrote:

The two lines quoted above can be replaced by this one line:

set {volumeChoice} to (choose from list namesArray with prompt "Choose a volume to mount.")

But what happens if the user presses the Cancel button? The result is false, which is not a list, so you get an error -1728.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Considerable simplification should be possible
      • From: Stan Cleveland <email@hidden>
References: 
 >Re: Considerable simplification should be possible (From: Lists <email@hidden>)
 >Re: Considerable simplification should be possible (From: Shane Stanley <email@hidden>)
 >Re: Considerable simplification should be possible (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Considerable simplification should be possible
  • Next by Date: Re: Considerable simplification should be possible
  • Previous by thread: Re: Considerable simplification should be possible
  • Next by thread: Re: Considerable simplification should be possible
  • Index(es):
    • Date
    • Thread