How to add/edit shading ink colors

Hi I was wondering if it is possible to add/edit the colors in the ink-type(shading) palette via scripts. I couldn’t find anyone trying this so far.
I made already a dialog that adds all colors in a selection to a palette, now i would like to set this palette as the shading palette on a button press.

1 Like