No public API for extracting NSScriptObjectSpecifier from NSAppleEventDescriptor

Originator:james.walter.matthews
Number:rdar://16383590 Date Originated:20-Mar-2014 05:22 PM
Status:Open Resolved:
Product:OS X Product Version:10.9.2/13C64
Classification:Serious Bug Reproducible:Always
 
I'm adding AppleScript support to a Cocoa application, and subclassing NSExistsCommand.When my class's performDefaultImplementation is called, the directParameter is an NSAppleEventDescriptor containing an object specifier. But the only way to extract the object specifier is to call a private method, -[NSScriptObjectSpecifier _objectSpecifierFromDescriptor:inCommandConstructionContext:].

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!