Answered
How to add a color sampler through Photoshop Scripting?
Hi,
I would like to fix a color sampler point through Photoshop Scripting?
Could you please help me on this.
thanks,
rajiv.s
Hi,
I would like to fix a color sampler point through Photoshop Scripting?
Could you please help me on this.
thanks,
rajiv.s
var theSampler = app.activeDocument.colorSamplers.add([10,10]);
alert (theSampler.color.rgb.red+"_"+theSampler.color.rgb.green+"_"+theSampler.color.rgb.blue);
Edit: And keep in mind that a document can have only four ColorSamplers (as of CS5 at least).
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.