Hi c.pfaffenbichler, I have had some computer issues the last few days and am just now able to work on this in earnest. First, I tried to run the Michael's code in the script editor, but it returned an error. I believe this is because of the conditions set, which required layers to be active, etc. I'm nost sure then, what use the script editor will be in this particular case. Next I then ran it in CS5, and separately ran your code in CS5 as well. Michael's code created a new curves layer, and if I understand it correctly, set the groundwork for me to be able to add in curves points using the color sampler variables he created. Your code returned a curves layer with anchor points in the R,G,B channels, the input and output values are not entirely clear to me upon trying to parse the code. The B channel for some reason was assigned two anchor points with output values. The net effect of the curves adjustment was to make the photo much more red in appearance. I realize I need to learn a lot more code to really understand these scripts that have been writtenn I'm reattaching the photos with a 3rd, which is the result of the adjustment. I have removed the painted circles around the color sampler points. The top most photo below is the adjusted photo, the second is the darker sky exposure and the lowest photo is a brighter exposure for the hills and river. The brightness of the sky in the top photo is kind of mid-way between the brighter and darker photos. The main thing is that it, and the background hills retains detail, which can be adjusted later in photoshop.
... View more