Re: getArgument() equivalent for installed macros?
Posted by
Bill Christens-Barry-2 on
Jan 18, 2017; 10:11pm
URL: http://imagej.273.s1.nabble.com/getArgument-equivalent-for-installed-macros-tp5017917p5017923.html
Michael,
Your suggestion of using call("ij.Prefs.set") and call("ij.Prefs.get") works very well. After playing with it, I learned that the set and get methods respectively write to and read from memory and not to or from the IJ_Prefs.txt file. Apparently the IJ_Prefs.txt file gets written only when ImageJ is closed or read only when it is opened. This meets my hope to pass the values without the file system becoming involved.
Bill Christens-Barry
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html