Registers command description
command for use by Cocoa’s built-in scripting support by storing it in a per-suite internal dictionary under the command name.
- macOS 10.0+
Also registers with the single, shared instance of
NSApple to handle incoming Apple events that should be handled by the command.