Re: file.rename example
Posted by
Cohen, Ethan D on
Nov 23, 2018; 10:53pm
URL: http://imagej.273.s1.nabble.com/file-rename-example-tp5021495p5021497.html
Thanks Herbie:
That worked...but it pointed me a the C:\usr directory
So I pointed it at my working directory
Now I understand the PATH statement much better.
dir = getDirectory("Choose a Directory ");
//Code manipulation
path=dir+getTitle()+".tiff";// Saves stack .tiff file in processed directory
save(path);
exit();
Ethan
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html