Darktable Color Balance-like CTL script request

Would anyone know how to produce a ctl script that emulated the Master Tab in Darktables Color Balance RGB module?

Also, would anyone be able to help with an action script to go on the file browser right click>file operations menu to open file in system file manager?

1 Like

Hi,
I’ll try to post an example of the latter, but I’m afraid I don’t have time for the CTL script right now. It should be definitely doable though, so hopefully someone can pick up the challenge :slight_smile:

1 Like

That would be very useful Alberto, thank you!

Something like this should do for windows:

[ART UserCommand]
Label=Show in Explorer
Command=explorer.exe /select,
NumArgs=1

just save the above in a file called open_in_explorer.txt in the Local\ART\usercommands subdir of the user’s appdata folder and it should appear in the menu.

@agriggio Can the command be tweaked in order to highlight or select the file being viewed in Explorer?

I’m not sure what you mean, sorry. Can you clarify?

Thanks!

My error @agriggio. It works as expected.

Many thanks Alberto.

I understand that the code needs converting to Mac-speak for use on my machine, but I can’t find where the action needs to be placed - the Windows file path has no Man alternate that I can see - been looking for the last hour!

Thanks though!

I know what you mean Mike - just show me THAT ONE image in finder/explorer. But unless it’s sitting in its own folder as a single image, then that would be impossible. On both systems, if you “show in finder/explorer” then ALL files in that folder will show.

Try making your system global ‘explorer’ window settings to show LIST view instead of icons/thumbnails - that might help, though you may have to scroll - the image should be highlighted somewhere in the list.

Andy, I was wrong. It does show as highlighted in explorer whether in list view or thumbnail view, among many other files. The command has the “/select” switch.

Hi, on Mac it should be $HOME/.config/ART/usercommands I suppose
 Maybe @sguyader can help?

BTW; How do I cc a user when I write a message like in the message that Alberto wrote to Andy, above?

Do you mean this?

This shows if you use the reply button of a certain post



 and your answer is not the next one after the post you are answering.

1 Like

I’m not at my Mac right now, but AFAIR that path is right.

So, here’s a poor man’s version of color balance rgb as a CTL script. It only implements the main tab, and I’ve taken quite a few shortcuts regarding color space conversions, so it most definitely won’t work as the original. But maybe it could be a starting point if somebody wants to take it further.
The script depends on _artlib.ctl from the ART-ctlscripts repository, so in order to use it the easiest thing to do is to copy it in the same dir as the other scripts.
colorbalancergb.ctl (6.0 KB)

HTH

7 Likes

@agriggio That’s a great start! Thanks for taking the time to do this.

Thanks for that Alberto!

colorbalancergb.ctl

an enrichment, still have to study the possibilities extensively, already works great, another reason less to look wistful to darktables “color balance rgb”.