Re: AppleScript-ObjC Syntax Problem on NSArray count method?
Re: AppleScript-ObjC Syntax Problem on NSArray count method?
- Subject: Re: AppleScript-ObjC Syntax Problem on NSArray count method?
- From: Steve Mills <email@hidden>
- Date: Wed, 16 Mar 2016 18:41:18 +0000 (GMT)
On Mar 16, 2016, at 01:27 PM, Dave <email@hidden> wrote:
Can anyone tell me what is wrong with this:
set myCustomPropertiesArray to (theCustomDocumentDictionary's objectForKey:"kCustomPropertiesList")
set myCustomPropertiesCount to (myCustomPropertiesArray's count())
I’m getting an error in the Count Statement in XCode and in the Script Editor.
Collision with AppleScript's "count" command? I was able to make it work by piping it:
return someArray'ss |count|()
Sent from iCloud's ridiculous UI, so, sorry about the formatting
_______________________________________________
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