Working with macros from command line
Posted by Juanjo Vega on Aug 30, 2010; 12:29pm
URL: http://imagej.273.s1.nabble.com/Working-with-macros-from-command-line-tp3687055.html
Hello everyone,
I'm trying to run a macro at imageJ startup, but I always get the same
message:"Macro or script not found".
My macro is located at [HOME]/imageJ/macros directory, and the way I try
to run it is:
java -Dplugins.dir=[HOME]/imagej/plugins/ -jar [HOME]/imagej/ij.jar
-macro macro.txt
I can only make it work if I'm at imageJ directory and run:
java -jar ij.jar -macro macro.txt
As it seems that imageJ can't find the macros directory, I tried to look
for something like the "-Dplugins.dir" option but for macros, but it
seems that there is nothing for that.
Can anybody helpo me, please?
Sincerelly,
Juanjo.