Friday, January 28, 2022

#1 2021-11-06 08:44:35 am

technomorph
Member
Registered: 2017-12-14
Posts: 242

AppleScript refer objects and NSArray / NSDictionary

Why am I not able to able ITunes reference objects to NSMutableArray
Or use in NSDictionary.

Errors with can’t create object of type.

When I use lists and records I can get everything to work fine.

It also errors when I try to log the record

Offline

 

#2 2021-11-06 05:12:45 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 6748

Re: AppleScript refer objects and NSArray / NSDictionary

It's the way references are implemented in AppleScript. The same limitation is there if you want to use a reference from one app in code aimed at another app.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)