In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-altModifier(-alt)
|
|
|
|
-autoSave(-as)
|
boolean
|
|
|
If set to true then the hotkeys will always be saved when
you quit. If false then the hotkeys are not saved unless
"savePrefs -hotkeys" is used.
|
|
-commandModifier(-cmd)
|
|
|
|
The Command key must be pressed to get the hotkey.
This is only available on systems which have a separate
command key.
Note that if menu item accelerator keys are being used
(menuItem -ke/keyEquivalent), then the accelerator key
settings override the hotkey settings.
|
|
-ctrlModifier(-ctl)
|
|
|
|
The Ctrl key must be pressed to get the hotkey.
Note that if menu item accelerator keys are being used
(menuItem -ke/keyEquivalent), then the accelerator key
settings override the hotkey settings.
|
|
-ctxClient(-cc)
|
string
|
|
|
Specifies the hotkey context. It is used together with the other flags to modify or query
the hotkey for a certain hotkey context. If it is not specified, the global hotkey context will be taken into
account. Check hotkeyCtx command to see how the hotkeys work with the hotkey contexts.
|
|
-dragPress(-dp)
|
boolean
|
|
|
Specify true and the command may be executed during
manipulator dragging, if the tool context also allows
this. This flag is false by default.
|
|
-factorySettings(-fs)
|
|
|
|
Resets the hotkeys back to the initial defaults.
|
|
-isModifier(-mod)
|
|
|
|
This flag is obsolete and should no longer be used.
|
|
-keyShortcut(-k)
|
string
|
|
|
Specify what key is being set. The key must be either a single
ascii character (capital and lowercase can be set independently)
or one of the keyword
strings for the special keyboard characters.
The valid keywords are:
Up, Down, Right, Left,
Home, End, Page_Up, Page_Down, Insert
Return, Space
F1 to F12
Tab (Will only work when modifiers are specified)
Delete, Backspace (Will only work when modifiers are specified)
|
|
-name(-n)
|
string
|
|
|
The name of the namedCommand object that will be executed when the key is pressed.
|
|
-pressCommandRepeat(-pcr)
|
boolean
|
|
|
Specify true and the command may be repeated by executing
the command repeatLast. This flag is false by default.
|
|
-releaseCommandRepeat(-rcr)
|
boolean
|
|
|
Specify true and the command may be repeated by executing
the command repeatLast. This flag is false by default.
|
|
-releaseName(-rn)
|
string
|
|
|
The name of the namedCommand object that will be executed when the key is released.
|
|
-shiftModifier(-sht)
|
|
|
|
The Shift key must be pressed to get the hotkey.
|
|
-sourceUserHotkeys(-suh)
|
|
|
|
This flag is obsolete. Please use import flag from hotkeySet command
to import the user hotkeys.
|
|