Also maybe you can use OZ? But for me it’s still a black magic.

Uko


On 20 Jul 2014, at 18:35, kilon alios <[email protected]> wrote:

> I am afraid I could not do that, it seems that when pharo has opened too many 
> windows the bottom bar takes all the space of the pharo windows and because 
> it has higher viewer priority you cannot view any kind of window. All you see 
> is that bars that represent open windows filling your screen. 
> 
> So the solution for me was to reopen the image , fetch most of my lost code 
> from changes  and fortunately only add a few lines of code back that were 
> permanently lost. 
> 
> So a big thank you for changes , it saved me at least hours of work and thank 
> you for trying to help me. 
> 
> 
> On Sun, Jul 20, 2014 at 6:13 PM, Ben Coman <[email protected]> wrote:
> 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