I'm making a color wheel panel and it's almost done. What I still need is to create an eventlistener for when foreground or background color is changed.
I know that I can get the foreground color with:
_Adobe.JSXInterface.app.foregroundColor.rgb
BUT does anybody know how to create an eventlistener that tells me when it's changed?