How to click a button in Slanted Edge MTF plugin in a macro?

Hi,

I’m writing a macro to execute Slanted Edge MTF plugin.
Typing the following executes the plugin but opens up a window with a button that I have to click:
run("SE MTF 2xNyquist");

This is the window that opens:
generate-mtf

Is there a way to click that in the macro?

Also I need to auto-accept the next window that opens:
generate-mtf-ok

I tried IJ Robot but I don’t know the coordinates on which I want to click.

1 Like