Skip to main content
Participant
August 10, 2024
Question

Action for ACR white balance eyedropper that selects the entire image area

  • August 10, 2024
  • 2 replies
  • 423 views

Hello everyone. I saw a tutorial for white balance on YouTube using Adobe Camera Raw, and the white balance eyedropper selects the entire image area. In most cases, it gives me better results than the automatic white balance. Is there a way to program this into Photoshop as a script/action? It would mean a lot to me. Link to the YouTube clip.

Auto Fix White Balance 

(Watch the video from the 50th second.) Thank you very much in advance.

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
August 10, 2024

The standard auto white balance command of the CRF can be scripted:

 

 
/*
CRF - Camera Raw Filter Auto White Balance.jsx
v1.0 - 8th February 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-bugs/acr-auto-white-balance-action-makes-the-same-change-every-time/idc-p/14409202
*/

#target photoshop

var actDesc = new ActionDescriptor();
var idWBal = charIDToTypeID( "WBal" );
var idauto = stringIDToTypeID( "auto" );
actDesc.putEnumerated( idWBal, idWBal, idauto );
executeAction( stringIDToTypeID("Adobe Camera Raw Filter"), actDesc, DialogModes.NO );
Stephen Marsh
Community Expert
Community Expert
August 10, 2024

That tutorial is for rendered images in the Camera Raw Filter, which is not exactly the same as Adobe Camera Raw.

 

I just tested and the script output records the absolute white balance result, not the selection. So If this is possible to automate in the CRF it isn't going to be the same process as manually using the eyedropper to "select all" with a marquee.

 

The white balance eyedropper is usually best set against something white or neutral, not by selecting the entire image (YMMV).

ja5E92Author
Participant
August 10, 2024

Yes, I meant the Camera Raw Filter, my apologies. For automatic white balance, I found a script on the forum, and it's useful of course, but I'd like to "automate" this as well somehow. By "absolute white balance result" for the script, did you mean that the script remembers the same value for temperature/tint settings? (I don't need that) Thanks.

Stephen Marsh
Community Expert
Community Expert
August 11, 2024

Yes, that's right, the recording captures the temp/tint values of the image, not the "white balance eyedropper marquee".