Copier le lien dans le Presse-papiers
Copié
Is there a way to make the color picker pop up during a script and allow you to choose a color?
Copier le lien dans le Presse-papiers
Copié
At the very least there is a work-around to set the Foreground Color with an intermediate Solid Color Layer.
Copier le lien dans le Presse-papiers
Copié
You can use the system one easy enough with script…
$.colorPicker();
Copier le lien dans le Presse-papiers
Copié
app.showColorPicker() was added for CS5.
Copier le lien dans le Presse-papiers
Copié
As if anybody ever reads the Changes since earlier versions—CS5 changes page… ooops much better thanks
Copier le lien dans le Presse-papiers
Copié
Good one!
ExtendScript Toolkit’s Object Model Viewer seems to be missing that.
Copier le lien dans le Presse-papiers
Copié
Yes, missed that in the documentation. Darn it!
I always use the runtime documentation: app.reflect.methods or app.reflect.properties
app could be any object, activeDocument, activeLayer, etc.
Copier le lien dans le Presse-papiers
Copié
This is a MUST for us.
Thanks for app.reflect.methods + app.reflect.properties
Copier le lien dans le Presse-papiers
Copié
yes! just stumbled onto this post.
THANKYOU for the reflect.methods and reflect.properties.
(how did I live without that for so long. )
Copier le lien dans le Presse-papiers
Copié
I want to place on the form 2 button to select the color for foreground and background. This function -
app.showColorPicker() - assigns a color only the foreground. How to do so she could assign the same color and the background? Or which function changes colors (by analogy with the X button)
Copier le lien dans le Presse-papiers
Copié
The code below is the same as pressing x to exchange the foreground and background.
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putProperty( charIDToTypeID('Clr '), charIDToTypeID('Clrs') );
desc.putReference( charIDToTypeID('null'), ref);
executeAction( charIDToTypeID('Exch'), desc, DialogModes.NO );
Trouvez plus d’idées, d’événements et de ressources dans la nouvelle communauté Adobe
Explorer maintenant