$.colorPicker behavior and access to the Adobe color picker?
Hey all,
I'm curious about scripting access to the Adobe color picker because of some limitations in the system color picker. I prefer the simpler interface and love that it has an 'OK' and 'Cancel' button. Does anyone know of a way, via scripting, to access this? Any help or point in the right direction is greatly appreciated.
If the system color picker is the only option (via $.colorPicker), is there a way to determine how the window is closed? One thing I'm noticing is that when you open the system color picker and pick a new color, there is no way to close the color picker without making a change (same as hitting 'Cancel'). The only way I know of to close that window and make a selection is clicking the red 'X' and hitting 'Esc.' I haven't seen any documentation about this so I'm not sure if it's available in the scripting environment but it would awesome to be able to determine which way the window was closed. I'd want to build in the behavior that hitting the red 'X' is the same as hitting 'Ok' and hitting 'Esc' is the same as 'Cancel.'
As for workarounds, it appears that keydown/keyup event listeners don't capture "special" keys like 'Esc' and 'Tab.' Anyone know of a way to detect the escape key when the window has focus?
Thanks!
Calvin
