I often have this issue where I can run macros fine but when I try to run them in batch mode I can’t any more.
For example the following works fine unless I set setBatchMode to “true”.
setBatchMode(false); run("Fly Brain (1MB)"); name=getTitle(); selectWindow(name); run("Deinterleave", "how=2 keep");
Could someone explain me how to fix this ?
Thank you very much