Color threshold in a jython plugin

Dear All,
how do you implement the color threshold in a jython plugin?
Thank you,

You can find the sources here:

It would also be not hard to record the commands (action ‘Macro’) in Jython instead of macro code only, see:

To call the plugin in Jython:, "Color Threshold...", "");

Another option would be to call or rewrite the generated the macro code in Jython,see:

1 Like