Re: Autorun problem
Posted by
Wayne Rasband-2 on
URL: http://imagej.273.s1.nabble.com/Autorun-problem-tp5018383p5018391.html
> On Mar 27, 2017, at 11:23 AM, Steve <
[hidden email]> wrote:
>
> Dear List,
>
>
> For my update site, I have a startup ijm in macros/AutoRun that tells FIJI to install a *.txt file containing a bunch of functions. My plugins then use these functions. The problem is that if a user has a StartupMacros ijm in macros, anything in AutoRun is ignored. This situation breaks all my plugins. Does anybody know what is the best solution to this problem?
You can add a call to your macro to the Edit>Options>Startup dialog, something like
IJ.runMacroFile(IJ.getDir(“macros”)+”AutoRun/mystartup ijm”);
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html