• 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: Changes with El Capitan?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 20:00, email@hidden wrote:

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

  • Follow-Ups:
    • Re: Changes with El Capitan?
      • From: Ron Reuter <email@hidden>
  • Prev by Date: [ALERT:Possible Phishing] Re: Changes with El Capitan?
  • Next by Date: Re: Changes with El Capitan?
  • Previous by thread: [ALERT:Possible Phishing] Re: Changes with El Capitan?
  • Next by thread: Re: Changes with El Capitan?
  • Index(es):
    • Date
    • Thread