As Peter said, you can execute any code in an inspector window.  Here is how you might solve this yourself :)  
There is a menu option
    World > Windows > Delete unchanged windows.
Of course, you can't use that directly since your background is covered with windows.  But you could open up another image and then do this...
1. Bring up the halos on that menu option
2. Click the "Debug" spanner icon and choose 'Inspect Morph'
3. Scroll down to /target/  where you find "[ World closeUnchangedWindows ]"
4. Evaluate that back in the problem image in any Inspector.

I describe this process since until a moment ago when I did that, I didn't know about the existence of "closeUnchangedWindows."
cheers -ben

Peter Uhnák wrote:
Maybe running something like this would work:
----
InspectorNavigator allInstancesDo: [ :each | each window close ].
----

You can run arbitrary code from basically anywhere where you can enter text (and Inspector has couple of boxes where you can enter text).

Also doesn't holding escape close it too?

Peter


On Sun, Jul 20, 2014 at 3:33 PM, kilon alios <[email protected]> wrote:

Is there a shortcut to close all inspector windows ? and if not how I close the window of a selected inspector ?

Basically I accidentally opened over 1000 inspector windows and i want to close them all now because they have occupied the entire GUI and I cant do anything other than closing them on by one. I cant open the world menu or open a new window because they take not only the entire window but also they are always on top.

The tragedy is that I had plenty of code that I don't want to lose because I have not saved, please help :( 

Can't open a workspace to issue pharo commands or any other window :(



Reply via email to