Methods
declareCommand(commandName) → {KeybindingsDeclaration}
Creates a Keybindings command that can be bound to a key and invoked
Parameters:
Name | Type | Description |
---|---|---|
commandName | string | The command that you wanto to invoke; will be prefixed by "Scripter." |
- Source
Returns:
- Type:
- KeybindingsDeclaration
invokeCommand() → {void}
Invokes a Keybinding command, if it exists
- Source
Returns:
- Type:
- void