rsjaffe / MIDI2LR

An application and plugin to remotely control Lightroom with a MIDI controller
http://rsjaffe.github.io/MIDI2LR/
GNU General Public License v3.0
675 stars 83 forks source link

Export with Preset #503

Open TerryHewitt opened 3 years ago

TerryHewitt commented 3 years ago

I would like to bind ("Export with Preset" + name of the preset) to a key

I can see commands for "Export" and "Export Again" (which I can use if I make sure do the first export manually)

I can't see how to do this. Have I missed something or is this a feature request?

Best wishes

Terry

rsjaffe commented 3 years ago

There are two basic ways to add functionality to MIDI2LR: 1) find a keystroke combination that'd do it, since MIDI2LR can send keystrokes to LR. 2) find a way in the LR SDK API to do it.

I can't find any keystroke combination that would do what you want (see https://www.lightroomqueen.com/keyboard-shortcuts/lrcc6/ for a good list of shortcuts), so that leaves the API. The API has a section on exporting that is very complex, and I haven't touched it yet. If someone could evaluate that API and develop a lua subroutine to do what you want, I could integrate it into MIDI2LR. Integrating new actions is extremely simple—the hard part is figuring out how to make LR do what you want it to do.

The 10.0 SDK can be downloaded here: LR_10.0_202010011851-ef6045e0.release_SDK.zip