Login  Register

How can I get the directory of a macro file?

Posted by bens0545 on May 09, 2018; 3:27am
URL: http://imagej.273.s1.nabble.com/How-can-I-get-the-directory-of-a-macro-file-tp5020635.html

I want to copy my macro file into different folders, and have the macro
operate on the files in that folder. Currently I am typing the new directory
path into the macro, but I would like the macro to get the directory that it
is in automatically. How can I do this?

Thanks!



--
Sent from: http://imagej.1557.x6.nabble.com/

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