Re: Quitting ImageJ cleanly in OSX for shutdown?
Posted by
Gabriel Landini on
Nov 03, 2007; 9:46am
URL: http://imagej.273.s1.nabble.com/Quitting-ImageJ-cleanly-in-OSX-for-shutdown-tp3698069p3698072.html
On Friday 02 November 2007, Christianname Surname wrote:
> As now happens, the macro terminates normally and when shutdown time
> comes along the OS sees ImageJ is still running, tries to quit it and is
> presented with the "Are you sure you want to quit ImageJ?" dialog. And
> sits waiting for a response == no shutdown.
>
> I guess what I'm kind of hoping-for would be a quit() function to go
> along with exit().
If there are no other good solutions, you could try the IJ_Robot plugin at the
end of your macro which [if you set the IJ window at a predetermined
position] could close IJ wait a bit and then click on the "No".
It is not an elegant way of doing it but it would probably work.
The plugins is here:
http://www.dentistry.bham.ac.uk/landinig/software/software.htmlCheers,
Gabriel