init(commandDescription:)
Returns an a script command object initialized from the passed command description.
Declaration
init(commandDescription commandDef: NSScriptCommandDescription)Parameters
- commandDef:
A command description for the command to be created.
Return Value
A newly initialized instance of NSScriptCommand or a subclass.
Discussion
To make this command object usable, you must set its receiving objects and arguments (if any) after invoking this method.
See Also
Related Documentation
- Cocoa Scripting Guide
receiversSpecifierarguments