How to avoid creation of multiple history step after using a script.
- November 24, 2023
- 1 reply
- 332 views
I have created small scripts to increment/decrement Exposure and Local Exposure.
This is one of them.
local LrDevelopController = import "LrDevelopController"
local mode = LrDevelopController.increment ("Exposure2012")
The scripts works fine BUT if I move a different slider before the changes in exposure Exposure are recorded in history I end up creating a multitude of unwanted steps for naught for the other setting/parameter I changed.
Steps I do (video shows the issue)
1. I use the script (I assigned it to a KBC on my Wacom Tough Ring for fast use)
2. Before the "Exposure + X" step is recorded I click and hold another slider and move it left right.
BUT I do not let it go.
Result: A multitude of steps are added, each single movement of the other slider is recorded as a new history step even if effectively I dind't let go of the slider so LrC should still tracking the setting but not write the changes in history.
I tired to fix this issue by adding LrDevelopController.startTracking ("Expsure2012") to the script but without success.
I am definitely making some mistake here, I am missing the necessary line in the script to prevent this from happening.
Any help would be appreciated.
