I'm in need to Show/Display "Color Picker Panel" in InDesign, to the user to select their desire color to create a swatch through SCRIPTING. Can anyone help me in this.
thanks Harbs, it works good.
But, one more thing, how to get CMYK from this color picker .It gives numeric value for our every color picking. My need is to get its CMYK or RGB Value.
while selecting "C=78, M=29, Y=59, K=27" on colorpicker it calling method returns value "2447174".
From the tools guide:
Invokes the platform-specific color selection dialog, and returns the selected color as a
hexadecimal RGB value: 0xRRGGBB.
name: The color to be preselected in the dialog, as a hexadecimal RGB value
(0xRRGGBB), or -1 for the platform default.
Take a look here: http://bit.ly/9kpVZI
I wrote a similar ColorPicker Script sample in the past, too.
unluck for me! , i wish to test similar example of this script! but the links not working!, please if anyone had the script to just upload it in fresh link and thanks in advance