Re: Considerable simplification should be possible
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. |
_______________________________________________
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