Lua SDK
-
Python SDK
2.1.0rc4
Chapters
Classes
Functions
Packages
Modifier
command
command.create
command.executebyshortname
command.focusview
command.getcommandbyshortname
command.getcommands
command.getshortcommands
command.menu
command.setshortcut
commandport
environment
event
fs
linker
types
ui
Iterators
Guerilla Render
Docs
»
Packages
»
command
»
command.setshortcut
command.setshortcut
ΒΆ
nil
command.setshortcut
(
[string|command]
command
,
[string|nil]
shortcut
)
Set a command shortcut
Arguments:
command
The command or command label to associate shortcut to
shortcut
The command shortcut to associate (or nil if no shortcut is to be associated)