Re: Quitting ImageJ cleanly in OSX for shutdown?

Posted by Christianname Surname on
URL: http://imagej.273.s1.nabble.com/Quitting-ImageJ-cleanly-in-OSX-for-shutdown-tp3698069p3698070.html

Thanks for the tip Wayne - I downloaded 1.39h and still couldn't get it to
quit properly even with all the image windows closed (and 'results' and
'log'), when it suddenly occurred to me to try closing the macro's window
too (just before the 'run("Quit")').  This made it work.  Duh.  I never
thought to close the macro's window while it was running.

Suggestion: I think that this procedure might be something good to add as an
aside in the description of the 'exit()' function in the documentation.

___

> A macro can force ImageJ to quit by calling run("Quit"). In v1.39h  
> and later, the "Are you sure you want to quit ImageJ?" dialog is not  
> displayed when a macro invokes the Quit command using run("Quit").  
> You can also avoid the dialog by having the macro close all the image  
> windows before quitting.

> -wayne