MIDI2LR icon indicating copy to clipboard operation
MIDI2LR copied to clipboard

Request for help: sending keystrokes to Lightroom

Open rsjaffe opened this issue 11 years ago • 6 comments

If anyone can contribute code for sending keystrokes to LR, I'd appreciate it. Particularly if it is compatible with both OSX and Windows. Code should either be in C++ or Lua, though if it is in Lua, it'll have to follow the rules LR imposes on Lua programs (limited access to some system resources).

thanks

Rory

rsjaffe avatar Nov 07 '15 01:11 rsjaffe

Unfortunately I don't know enough C++ or LUA to help out with this, but maybe the VSCO Keys plugin can be a good springboard to incorporate keystrokes for MIDI2LR.

https://github.com/vsco/keys

stevejmu avatar Nov 10 '15 12:11 stevejmu

Please explain what is the goal of the feature request. What do you want to achieve? Maybe there is another way to solve the problem.

otherwise: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx is an option.

Jewest avatar Nov 23 '15 14:11 Jewest

The Lightroom SDK interface doesn't provide complete control of Lightroom.

Sending keystrokes would complement the SDK to provide complete control.

So we're looking at stuffing keystrokes into the LR application, either from the MIDI2LR app (which is a separate app from LR) or from the Lua plugin (which runs as part of LR).

rsjaffe avatar Nov 23 '15 20:11 rsjaffe

If you are still looking...

It's unlikely that there is a portable way to do this in C++ (I don't know anything about LUA)

I could probably put something together for Windows. Mac would require more research.

seweil avatar Dec 14 '15 08:12 seweil

http://www.music.mcgill.ca/~gary/rtmidi/ ???

StevenKersting avatar Feb 06 '16 16:02 StevenKersting

The first test edition is added to the pull request of the develop tree. Looking for feedback if it works for other users. Op 6 feb. 2016 17:29 schreef "StevenKersting" [email protected]:

http://www.music.mcgill.ca/~gary/rtmidi/ ???

— Reply to this email directly or view it on GitHub https://github.com/rsjaffe/MIDI2LR/issues/48#issuecomment-180806227.

Jewest avatar Feb 06 '16 19:02 Jewest