CEP Javascript code to open Illustrator colorpicker from JSX
Hi,
I'm writing a Photoshop and Illustrator extension and I'm tryting to find the Javascript code that will open the standard colorpicker in Illustrator. Does anyone know the correct Javascript code I need to call in Illustrator to open the standard Illustrator colorpicker from a JSX file?
In Photoshop the call is - app.showColorPicker() - which works fine, but I cannot find an equivalent call for Illustrator. I do have a copy of the Adobe Illustrator CC 2017 Scripting reference (latest I could find on the internet) - which publishes the following command to open a colorpicker in Illustrator
$.colorPicker()
The problem is that this command (with the dollar sign) only opens an old legacy colorpicker and not the standard colorpicker that people expect to use- see image (the old legacy colorpicker that opens is the one on the right - but I need to open the colorpicker on the left)
thanks in advance
