Closing Modified Image Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Closing Modified Image Windows

Mark Loeffen
I am writing a Plugin that opens a bunch of Images, modifies some, and
stores the results in a stack. I then want to close all the original Image
windows. I am currently closing the input windows by automatically selecting
each in turn and running win.close(). This works fine for windows that have
not been modified, but those that have been modified, it brings up the "Save
Changes" dialog box. I would like to close each of these windows
automatically without having to manually click "No" to each one that has
been modofied. Can someone please show me how to do this? Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Closing Modified Image Windows

jmutterer
This is a FAQ, you'll find the answer at

https://list.nih.gov/cgi-bin/wa?A2=ind0603&L=IMAGEJ&P=R14652&I=-3

jerome


On 9/6/06, Mark Loeffen <[hidden email]> wrote:
> I am writing a Plugin that opens a bunch of Images, modifies some, and
> stores the results in a stack. I then want to close all the original Image
> windows. I am currently closing the input windows by automatically selecting
> each in turn and running win.close(). This works fine for windows that have
> not been modified, but those that have been modified, it brings up the "Save
> Changes" dialog box. I would like to close each of these windows
> automatically without having to manually click "No" to each one that has
> been modofied. Can someone please show me how to do this? Thanks.
>