"Open next" Doesn't work
Posted by flowglow on Apr 03, 2014; 12:41pm
URL: http://imagej.273.s1.nabble.com/Open-next-Doesn-t-work-tp5007191.html
Hi everyone!
I am trying to use very helpful run("Open Next"), but it doesn't want open next image=)
So this code is working well:
q=0;
n=92;
open("here I put direct path to the 1st image");
while (q<n)
{
run("Open Next");
print(q);
q++;
}
This one prints "q", but doesn't change image:
q=0;
n=92;
folder = getDirectory("Choose a Directory");
first_photo = getString("Enter name of first photo", "Sample_27_G_000000.JPG");
open(folder+first_photo);
while (q<C[0])
{
run("Open Next");
print(q);
q++;
}
Has someone faced with such problem before?