• 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
AppleScript-ObjC Syntax Problem on NSArray count method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript-ObjC Syntax Problem on NSArray count method?


  • Subject: AppleScript-ObjC Syntax Problem on NSArray count method?
  • From: Dave <email@hidden>
  • Date: Wed, 16 Mar 2016 18:26:21 +0000

Hi All,


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.

Any help greatly appreciated.

All the Best
Dave


 _______________________________________________
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


  • Prev by Date: Re: Script Editor Crashing.....
  • Next by Date: Re: AppleScript-ObjC Syntax Problem on NSArray count method?
  • Previous by thread: Re: Script Editor Crashing.....
  • Next by thread: Re: AppleScript-ObjC Syntax Problem on NSArray count method?
  • Index(es):
    • Date
    • Thread