On Jun 15, 2012, at 11:24 AM, Oliver Bannach wrote:
> Dear all,
>
> I use this command to specify the path to my image directory:
>
> dir = getDirectory("Select Directory");
>
> But how do I set a default directory?
You can set the default directory in a macro using
call("ij.io.OpenDialog.setDefaultDirectory", dir);
or in JavaScript or Java using
OpenDialog.setDefaultDirectory(dir);
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html