Re: ImageJ command line
Posted by dscho on Mar 26, 2010; 6:52pm
URL: http://imagej.273.s1.nabble.com/ImageJ-command-line-tp3688782p3688783.html
Hi,
On Fri, 26 Mar 2010, Juergen Haag wrote:
> I am using ImageJ from the command line (OS: Window 7) with the name of a
> macro as an argument. That works fine. However, if I repeat the command
> ImageJ -macro mymacro
> a new instance of ImageJ is opened.
> Is it possible to just execute the macro if ImageJ is already running?
> Is there a way of limiting ImageJ to a single instance?
You need to configure it in the options (Edit>Options>Misc...). Note,
though, that this poses a security risk if your computer has no firewall
enabled, or if other people can log in remotely.
ImageJA has a slightly different approach, which does not show the same
problems (but it did not work in Wayne's tests). Fiji has it enabled by
default.
Ciao,
Johannes