Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

SDK TranslatedStrings Plugin

Participant ,
Nov 16, 2023 Nov 16, 2023

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.

TOPICS
macOS , SDK
315
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2023 Nov 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/i...

 

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 16, 2023 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2023 Nov 16, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines