Re: Changes with El Capitan?
Re: Changes with El Capitan?
- Subject: Re: Changes with El Capitan?
- From: Chris Swain <email@hidden>
- Date: Wed, 14 Oct 2015 20:03:01 +0100
This solved the problem, many thanks Shane
Cheers
Chris
On 14 Oct 2015, at 3:05 AM, Chris Swain <email@hidden> wrote: set theURLs to (thePanel's |URLs|()) as list
Don't coerce it to a list.Look up the release notes and you will see that NSURLs are now bridged to AppleScript files. (This is great news, incidentally.) But just like coercing an array of NSStrings results in a list of AS strings, so coercing an array of NSURLs results in a list of files.Remove the "as list"; it's unnecessary, and all it's ever done is slow things down a tad.-- Shane Stanley <email@hidden><www.macosxautomation.com/applescript/apps/>
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden