Paste Selected Settings action not working correctly 0.8.0
Hi rsjaffe,
I started using MIDI2LR v0.8.0 today with the behringer x-touch compact (on Win 10, LR cc) and I am really impressed, thanks for an amazing plugin! However I am struggling to get the Paste Selected Settings action to work correctly. The Exposure up to the Clarity sliders in LR does not seem to adjust correctly after using the paste selected settings..
I have tried different selections under options and even selected them all. But the only slider(from exposure to clarity) that moves is the shadows and always just to +5 behaving as if it has been hard coded. The rest of the sliders seem to be working fine duplicating what was copied previously.
The normal "CopySettings" and "PasteSettings" works correctly.
I have followed your instructions with https://github.com/rsjaffe/MIDI2LR/wiki/Commands:-Tools & https://github.com/rsjaffe/MIDI2LR/wiki/Set-options-dialog .
Also i had to select them manually one by one... the "set all" was reset to the previous selections when I press "OK" and went back to the "Set Options >> Paste selections"...and was not saved. Not sure if it could be due to "Juce library updated to 4.0.2."
Any advice please?
Thanks, Paul
I'm not sure if I understand you properly, but why you assigned this action for sliders? It's wired. I believe you have to reassign it to a buttons and check what will happened.
Sorry I was not clear. It has been assigned to a button. The selective paste does not update the LR sliders exposure through to clarity in the basic. Although I selected them to be pasted in the options.
So I copied and wanted to paste the following with selected paste.
Temp 4751 Tint +8
Exposure +0.83 Contrast +35
Highlights -13
Shadows +29
Whites -2
Blacks -31
Clarity +20 Vibrance +7 Saturtation -23
When I paste I get:
Temp 4751 Tint +8
Exposure 0.00 Contrast +25
Highlights 0
Shadows +5
Whites 0
Blacks 0
Clarity 0 Vibrance +7 Saturtation -23
Hope this helps.
Of the following, which do you have assigned to a control on your MIDI controller?
Temp Tint Exposure Contrast Highlights Shadows Whites Blacks Clarity Vibrance Saturation
I have them all assigned. some I assigned to sliders and some to knobs. they all work on the midi controller.
Which are assigned to knobs and which to sliders?
Temp - knob Tint - knob Exposure - slider Contrast - slider Highlights - slider Shadows - slider Whites - slider Blacks - slider Clarity - knob Vibrance - knob Saturation - - knob
do you think LrDevelopController.setValue is not working correctly? it resets some to 0 as if to a default?? could one not set up a copy of MIDI2LR.Copied_Settings with selected values and call LrApplication.activeCatalog():getTargetPhoto():applyDevelopSettings(MIDI2LR.Copied_Settings)?
I do not know LUA or C++ or how the LR API works so excuse my ignorance. But I would love to learn and help in future if possible.
@rsjaffe - Can you duplicate the issue? Is there something I can do to help resolve it? (perhaps a debug build I can use to help?)
The Paste Selected Settings action is important for my work flow and I would really love to help resolve it if possible. Is anyone else experiencing similar issues(win 10 LR CC)?
Can you do a screenshot of your options selections for selective paste? Something like this?
Also, could you send the exact sequence of steps that reproduce the event--starting with copy all settings. And are both photos of the same file type? (e.g., DNG, ARW, JPG)
For learning Lua--it's kind of similar-looking to javascript though there are some important differences in how it works.
I have the same issue. It doesn't paste my selections. Another issue I am having is not being able to save my selections in the "Set Options > Paste Selections" Menu. I select some items and click ok, but when I go back to it, it did not save my selections and has random ones selected.
@rsjaffe - thanks for the links. I have compiled a flow of what I did using screen shots. I use only DNG's in this case. hope this is helpful.

@EugeneMichel - I have found that if I use the "clear all/ select all" and making changes it does not save. If i do it all manually only it saves the options made for "paste selective". Are you also using Win 10 with LR CC?
Those screenshots are very helpful. I'll look into repeating the problem.
For programming in Lua, http://www.lua.org/manual/5.1/ is the reference manual for version 5.1 of the language, which Lightroom currently uses. I used the current 5.2 version of the book Programming in Lua to learn how to program in the language--it goes into some of the idioms that are associated with this language.
I'm able to repeat the problem. I'll work on it and get a fix out asap.
@rsjaffe - Awesome, thanks so much for the effort. Looking forward to the fix. I just purchased The C++ Programming Language, 4th Edition by Bjarne Stroustrup and I am well impressed with the way it is written. I have been unable to obtain a good Lua book here in the book shops. Thanks for the links!
Fixed in version v0.8.2. Read the release notes and the new information in the Options dialog. Turns out Lightroom uses undocumented variables for copy paste settings!
@rsjaffe - thanks so much for all your efforts! Really appreciate it!! I am trying to create a build for windows now using VS. Happy new year to you!
Rock on!!! works great thanks so much!