Jürgen,
although I nerver used it, you may try Edit <
Option > Misc > "Run single instance listener".
The IJ-manual tells us:
"Enable Run socket listener and ImageJ will use
sockets to prevent multiple instances from being
launched. On Windows, this avoids the problem
where another copy of ImageJ starts each time an
image is dragged and dropped on the ImageJ icon.
It also prevents multiple instances when running
ImageJ from the command line. Note that you may
get a security alert the first time ImageJ starts
with this option enabled. ImageJ does not require
external socket access so it is okay to deny it
access in the security alert."
>Hi all,
>
>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?
>
>Thanks
>Juergen
HTH
--
Herbie
------------------------
<
http://www.gluender.de>