javascript for eyedropper (of colorsampler) tool interaction
In the Windows Forum a query was posted regarding … well, what it comes down to is: the user wants to paint using colors from across layers, but as the Eyedropper Tool can not disregard the Adjustment Layers positioned above, the colors that get picked up are already adjusted, therefore not useful. Setting the Eyedropper to Current would disregard other pixel-layers, so also not great.
A workaround might be to create a blank Adjustment Layer between the Adjustment - and pixel Layers and measure with that selected (and Eyedropper set to Current).
That would be inconvenient in that one has to switch between the two Layers … so, would it be possible to make a Script that switches the activeLayer to the blank Adjustment Layer, let’s the user make one measurement with the Eyedropper Tool (or Colorsampler) and sets the activeLayer back to the previously selected one after the click/release?
Any help appreciated.

