...
Windows does not provide a way to individually remove hot keys for an application (it only provides a way to replace the list of hot keys). Therefore, Shogun Shogun Post keeps an internal list of all hot keys, until the -final
flag is specified, when it copies the internal list to the application's list. This is done to speed up execution of the command.
...
Scroll tablelayout |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default | style |
---|
widths | 20%, 10%, 13%, 57% |
---|
style | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
...
Scroll tablelayout |
---|
sortDirection | ASC |
---|
repeatTableHeaders | default | style |
---|
widths | 12%, 15%, 14%, 13%, 46% |
---|
style | |
---|
sortByColumn | 1 |
---|
sortEnabled | false |
---|
cellHighlighting | true |
---|
|
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|
ctrl | 0 | — | — | Specifies that the CTRL key must also be depressed for the command to execute. The default is no modifier. |
shift | 0 | — | — | Specifies that the Shift key must also be pressed for the command to execute. The default is no modifier. |
numPad | 0 | — | — | Certain keys are repeated on the number pad portion of keyboards (e.g. 19, +, , etc). Specifies that the key is the one on the number pad. |
final | 0 | — | — | Specifies that this call to setHotKey is the last in a series. This flag should always be provided if only one call to setHotKey is being made. This is to reduce allocation and reallocation of hot keys in the system. |
Return value
void
Examples
Code Block |
---|
|
// Set some hot keys. Be sure to specify the -final |
...
...
setHotKey "cutKeys" "x" -ctrl; |
...
setHotKey "fillGaps" "f" -shift; |
...
setHotKey "step" "RIGHT"; |
...
...
setHotKey "stop" "TAB" -ctrl; |
...
Additional information
Related commands
...