What’s the ImageJ script for clicking a button on a plugin’s GUI window?
I’m trying to write an automated macro to analyze IHC images using IHC Tool Box. I need to click the button “Read User Model” to select my own defined model that I have, then click “Color” to execute the analysis. I can write the loop to go through all images in the directory and save the results. But I cannot figure out how to write the script to click these buttons, or any buttons in general.
My best guess is it’ll be something along the line of:
run("IHC Toolbox", "some option to click wanted button here
But because Macro Recorder doesn’t seem to record my clicking act, I don’t know what this argument should be.