running macros

Posted by Carmen Gómez on
URL: http://imagej.273.s1.nabble.com/running-macros-tp5022367.html

Dear List,

I am performing a macro  to apply in different images.

I split each image in channels, and then I work in this channels. I would like to know if there is the possibility to create  a macro for all the images that will be capable of select channels and treat them individually. I mean, e.g.:


run("Split Channels");

selectWindow("2018 03 15 002.jpg (green)")


here I select a window with a concrete name that will be different for other images. The only that they will have in common it will be "channel green").

So, how I can program "2018 03 15 002.jgp (green)" to be a stardard "green" file ?

thank you
Carmen

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html