Initializes and returns a newly allocated instance of
- macOS 10.0+
The name of the suite (in the application’s scriptability information) that the command belongs to. For example,
The name of the script command that this instance describes.
A command declaration dictionary of the sort that is valid in script suite property list files. This dictionary provides information about the command such as its argument names and types and return type (if any).
The initialized command description instance. Returns
nil if the event constant or class name for the command description is missing; also returns
nil if the return type or argument values are of the wrong type.
This method registers
self with the application’s global instance of
NSScript and also registers all command arguments with the registry.