Contents

register(_:)

Registers command description commandDesc for use by Cocoa’s built-in scripting support by storing it in a per-suite internal dictionary under the command name.

Declaration

func register(_ commandDescription: NSScriptCommandDescription)

Discussion

Also registers with the single, shared instance of NSAppleEventManager to handle incoming Apple events that should be handled by the command.

See Also

Related Documentation

Getting and Registering Command Descriptions