Skip to main content
Known Participant
November 16, 2023
Question

SDK TranslatedStrings Plugin

  • November 16, 2023
  • 1 reply
  • 281 views

Is it possible to assign a keyboard shortcut to a plug-in extra menu item inside the plugin?

 

I'm assuming this is not possible. Therefore, what would one need to add to the TranslatedStrings_Lr_en_US.txt file on macOS to assign a shortcut for a menu item under "File > Plug-in Extras > Menu Item"?

 

I have figured out how to change already existing keyboard shortcuts by creating the TranslatedStrings_Lr_en_US.txt file and making changes, but I can't figure out how to add shortcuts to the menu items under Plug-in Extras.

 

I should add that I am aware that I can add keyboard shortcuts via macOS natively or via a program like Keyboard Maestro. I have a very specific use case in which I would like to do this via a plug-in I've created or via the TranslatedStrings_Lr_en_US.txt file.

This topic has been closed for replies.

1 reply

johnrellis
Legend
November 16, 2023

Unfortunately, it isn't possible to add a shortcut to a plugin menu item, including via TranslatedStrings. It's part of a very old, very popular feature request to allow shortcut customization in general:

https://community.adobe.com/t5/lightroom-classic-ideas/p-allow-for-keyboard-shortcut-customization/idi-p/12249948

 

All my plugins direct users to use Mac OS System Settings > Keyboard (Mac) or Autohotkey (Windows). 

 

On Windows, you can use the Alt keyboard accelerators to invoke any menu item with the kebyoard, including plugin menu items, but it takes multiple keystrokes to navigate the menu.

cwurzbachAuthor
Known Participant
November 16, 2023

I appreciate the confirmation. I thought I may have found a quick "hack" by creating the TranslatedStrings_Lr_en_US.txt file on macOS and filling it with the appropriate information but I guess not. Dang. Thanks again @johnrellis for your help.

johnrellis
Legend
November 16, 2023

Yeah, TranslatedStrings can only be used to change or assign shortcuts to the commands for which Adobe has already coded to use shortcuts.