How to script/code fiji to do the following:, “Color Threshold…”, “”);

works well but i want to also specify that it does color space=RGB and then select the thresholds (0 for red and max on blue/green), and lastly to click “select”

Any ideas ? Thanks!!!

You can use the macro recorder to get the commands you are asking for, see:

Select the language you would like to record in the combobox and then use the ImageJ GUI to record the commands which you can reuse in your code.