In a previous post ( Warning before changing the settings of all photos - #6 by Lucabeer ) ,I had already asked the DxO team to add a warning for when you accidentally select all your images and apply modifications to all of them.
Today, it happened to me again, and thanks to a wonderful AI (one that has the French first name of a 60-year-old man), I found a solution.
It’s far from perfect and it takes a bit of time, but it works on Mac (not sure about Windows).
Until now, the only solution was to manually use the “new” History panel and go from picture to picture, selecting the last history step where each image was still good.
When you have 1,000 images to fix, you easily lose an hour or two doing that.
The solution: create a small AppleScript that does the job for you.
It clicks on the last good state of your image, clicks on a black part of the work area, moves to the next image, and starts again.
Simple.
For reference, here is the script I used.
You have to update the values of “histo” and “fond” for your own screen (they are actually pixel coordinates on your screen).
Note that the value of “histo” depends on the number of operations you applied while all the images were selected.
If it’s a bit unclear how to set this up, I suggest asking your favorite AI to guide you. It’s pretty simple.
Again, it’s not perfect, but it’s better than nothing.
(Not sure if it’s worth asking the DxO team for an easier solution. It’s often small details like this that make a piece of software either really useful or a nightmare…)
-- Paramètres
set nbImages to 5
set cliclick to “/opt/homebrew/bin/cliclick” – chemin donné par “which cliclick”
set histo to “122,1151” – bonne ligne de l’Historique
set fond to “333,1132” – fond noir de l’espace de travail
set nomApp to “DxO PhotoLab 10” – nom exact à vérifier
tell application nomApp to activate
delay 1
repeat with i from 1 to 355
-- clic Historique, pause, clic fond noir, pause, flèche droite
do shell script cliclick & " c:" & histo & " w:800 c:" & fond & " w:500 kp:arrow-right"
delay 1.5
end repeat