How to use a plugin with duplicate dialog keywords in a macro?
Posted by John Alexander-7 on Jul 13, 2008; 10:26pm
URL: http://imagej.273.s1.nabble.com/How-to-use-a-plugin-with-duplicate-dialog-keywords-in-a-macro-tp3695605.html
Hi group,
So I am writing a macro that is going to batch perform the Image
Correlation Analysis plugin on all open images.
The difficulty I am having is that the dialog window asks for an image
for channel 1 and channel 2 and the channel combination, but apparently
there was no preceding underscore for the channel 2 or channel
combination dialog boxes, so I get a "duplicate keyword" error.
My macro doesn't seem to work with the following:
run("Intensity Correlation Analysis", "channel=image-red
channel=image-green channel=[Red : Green] use=None use crosshair=3");
I get image-red is not a valid choice for channel combination, which is
the third dialog option.
Does that make sense?
I need to find a work around ...
John