Changing the settings of all your images by mistake : one solution!

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

It’s a nice idea to use a script, but I’d much prefer DxO implemented some kind of “bulk-edit salvage” function that can undo bulk edits rather than requiring us to go shot-by-shot to do it.

I too have recently accidentally edited (thankfully only about 15 shots) but that still took time to go through and rectify.

(In fact it took longer because DxO was so locked up trying to generate previews for each shot I opened, when I didn’t even want or need to see what I was looking at - I knew exactly which history step I needed to “undo” to - but performance tanked because of the preview generation. Again.)

There is a history but not really a proper Undo. I remember creating a thread about it but as usual here people don’t like change or say improvement isn’t needed. But control Z should be all it takes to undo a large change to any number of images.

the per picture history is nice but it’s a shame Photolab doesn’t have a proper application level undo that retains the selection used for each change such that when you undo, each step you undo acts on the images you had selected at that time.

This would be the proper solution.

I don’t remember precisely but I recall o had inadvertently clicked a star rating after selecting all, and blew away all the star ratings on an entire gallery in an instant. Star rating and color label changes aren’t even captured in the editing history so there was literally no way to undo it. It’s absolutely ludicrous that it’s not possible to undo a single errant click. I’m the end I went back through and re rated every image. What a colossal waste of time.

It sounds like we’re looking for the same thing - where the application remembers every change made up to e.g. 50 steps back across any photo or selection of photos.

So for example you could undo an accidental batch edit or, if you just hit “ctrl-z” a bunch, you’d undo every edit you just made to a single image and the one before it, if that was all within e.g. 50 steps of change.

It’d be really great to see this in a log. The whole thing could be a toggle window, or even hidden away in some “first aid kit” that you can only access if you really need it (so you don’t accidentally undo more than you meant to). Then you could view all your changes for that session, or even previous sessions too, and undo some or all of them.

Yep. It works this way with every other application except Photolab. LOL