holroy
March 9, 2024, 1:20pm
4
If you look at the post below, I showcase some ways of traversing the app.command.commands
list of commands which holds the various ID’s. In the post I further exemplify how to get the hotkeys related to a command, which might not be useful in your case, @js2hou .
The script presented below will list all available commands, default and custom hotkeys, and keys associated with multiple commands. Through changing variables at the front of the script, one can also fine tune to show various columns, with/without keys, and exclude or only include specific modules.
As it’s written here, it’ll show commands which have one or more keys bound to that command, and it’s sorted by the key (before modifiers), so that Cmd P is shown before Cmd W. (This related to the …
Here is another version traversing the same list (also by me ):
Last july, @Moonbase59 , created a script to list the current hotkeys, and I got news of this today. I discovered that if multiple keys was defined, it didn’t show the alternate keys provided, so I modified the scripts a little.
Modifications I made to script include:
Allowing for showing multiple keys for a given command
Simplified the join operations on the modifiers, and allowed for usage of symbols, if one are so inclined
Changed the second listing to only show commands without a hotkey, …