I’m working with Photoshop SDK with Javascript, and I’m completely stuck on the color Picker behavior.
I would close the Photoshop ColorPicker if open (I use app.showColorPicker() to present it).
Is there a way to close it from script ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure there is a way to do this in the script or if it’s even necessary. Just from testing out
app.showColorPicker()it appears that the script hangs and waits for the user to either pick a color and click ok, or click cancel (both of which close the window) before continuing with script so it would close itself before evaluating the next line of code anyway.