Login  Register

Re: batch importing files - double backslashes?

Posted by Olivier Burri on Feb 12, 2015; 12:27pm
URL: http://imagej.273.s1.nabble.com/batch-importing-files-double-backslashes-tp5011545p5011580.html

> So, IMHO, there is no need to use the clumsy 14-character "file.separator"
> variable from the macro language.

While I agree with Nico, the nicest way of doing this is to declare a variable at the beginning of your macro

var s = File.separator;

And then use that.

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