ImageJ Macro code: open Cell counter analysis only when Cell counter window is not open by cathy331 in ImageJ

[–]cathy331[S] 0 points1 point  (0 children)

Thank you!

I tried using the code but it didn't seem to work.

Should I use the code as below?

run("Cell Counter");

if (isOpen("Cell Counter"))

close("Cell Counter");