I found a few of them actually work.
CameraRAWOpenOptions.tint=0; // works (-150 to 150)
CameraRAWOpenOptions.temperature=5500; // works (2000 to 50000)
CameraRAWOpenOptions.luminanceSmoothing = 0; // works 0 to 100
CameraRAWOpenOptions.saturation=50; // works =100 to 100
CameraRAWOpenOptions.vignettingAmount=0; //works -100 to 100
CameraRAWOpenOptions.vignettingMidpoint=0; //works -100 to 100
These ones do not work:
CameraRAWOpenOptions.brightness=0; // does not work (0 to 150)
CameraRAWOpenOptions.contrast=0; // does not work (-50 to 100)
CameraRAWOpenOptions.exposure = 0; // does not work (-4.0 to +4.0)
CameraRAWOpenOptions.shadows=0; // (0 to 100) does not work
CameraRAWOpenOptions.whiteBalance=WhiteBalanceType.SHADE; // does not work
I noticed that, doing File-->File Info--> "Advanced" tab-->expand "Camera Raw Properties" that the ones that do not work have mostly either been removed (brightness) or had "2012" added to their names in the XMP in the conversion from CS5 to CS6.
Is there an alternate way to do this by going through XMP?
Unfortunately, I'm wanting to use "exposure", which is one of the ones that is broken. My main script sets a custom exposure for each image (trying to smooth out EV jumps between successive images in a sunset time lapse).
The new settings have new behaviors and new names. You must amend your scripts to take process version into account.
PV2012, internally, is 6.6 (beta) or 6.7 (as released).
Perhaps scripting support has not yet been updated for PV2012. - Adobe is behind in a couple of areas, e.g. DNG Profile Editor does not yet support PV2012, and last I heard the DNG 1.4 spec had not been published yet...
Maybe somebody who knows more about this will comment.
Consider filing a problem report if no light shed soon:
Yes, Rob, it looks like they have not updated the scripting to support PV2012. I think I'll file a problem report.
Another option would be to create an XMP file with the settings, then open the raw file without CameraRAWOpenOptions, and Photoshop will read from the XMP file. That's a bit more work, though.
Thanks for the reply.
I think I'll file a problem report.
I'll be looking for it .