Is there an easy way set the foreground color to the color of a text layer without using the eyedropper or creating a swatch?
Dragging the color chip from the Character window no worky. Can't seem to use the foreground Color Picker to select the color chip from the Character window either.
Thanks.
#1
What is wrong with using the Eyedropper? That's what it's for.
#2
Because with smaller aliased text it is sometimes very difficult to find a pixel to click on with the eyedropper that is 100% opaque and represents the true exact value of the text color. It becomes tiring zooming way in to try to find a pixel that appears to be 100% opacity and there is no real way to tell.
#3
Sounds like a layer style would be better. You might even check the scripting forums for answers on how select all layers with a certain style applied for quick "master style" functionality.
#4
I guess you could click on the color in the Options Bar and write out the color build from the Picker and use that. Seems kind of round about.
#5
Here you are, select the text layer with the colour you want and run this script...
#target photoshop
if(activeDocument.activeLayer.kind = LayerKind.TEXT){
app.foregroundColor = activeDocument.activeLayer.textItem.color; }
#6
Sad part is I can open the text color picker and select the foreground color, but not vice versa.
#7
Thanks for the script and the help.
#8