There have been several posts regarding printing a list of shortcuts for SketchUp, but the solutions offered largely relate to default shortcuts. Is there a way (for example extension or ruby method) that will allow a person to print all shortcuts (default and user added)? Even better would be a table having a column of commands that can be assigned a shortcut and a second column with currently assigned shortcuts (or null if no shortcut).
I know I should know my own shortcuts, but I don’t always know them when I need them.
Thank you for your kindness, understanding, and help.
Thanks. What is sort of odd is that, on MacOS, the cmd key shortcuts are not listed using the get_shortcuts method. For example, cmd-g invokes the ‘make group’ command and shift-cmd-g invokes ‘make component’ command.
on windows machines there is a file called preferences.dat that is created and stores file locations and shortcuts. It can be opened and edited with a text editor like Notepad++. Not sure if it does the same on a MAC.
A couple of versions ago (don’t remember off-hand which) SketchUp changed where shortcuts are stored to put them in the SharedPreferences.json file on both Windows and Mac. preferences.dat is no longer used.
However, this does not change the fact that on both platforms standard shortcuts into the menu system are coded and compiled into the app and not shown by the Ruby get_shortcuts method. Further, as @MikeWayzovski pointed out, on Mac a user cannot set a persistent Cmd- shortcut. It used to be that you would get a warning. At least in 2023, it simply is ignored when you try to enter it in the settings panel.