Get color picker selected color values
Hello, there.
There is a way to get colorValue for the color picker selected color?
Hello, there.
There is a way to get colorValue for the color picker selected color?
Thank you guys!
That's my fear. No way to get directly from fill square from swatches panel.
Thanks, Löic and Uwe!
Oh, there is a way as well. It should be the last color added in the colors array you get with:
var colors = app.documents[0].colors.everyItem().getElements();
var lastColorAdded = colors[colors.length-1];
FWIW: This color has no name.
Regards,
Uwe
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.