Shortcut to close a system window

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

Shortcut to close a system window

marcel.taeumel (old)
Hi.

Is there a keyboard shortcut to close a system window that has focus?

Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

Frank Shearar-3
On 10 January 2012 10:22, Marcel Taeumel
<[hidden email]> wrote:
> Hi.
>
> Is there a keyboard shortcut to close a system window that has focus?

Alt-w is what you're looking for, I think?

frank

Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

marcel.taeumel (old)
Not working in Squeak 4.2. :(
Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

Frank Shearar-3
On 10 January 2012 12:25, Marcel Taeumel
<[hidden email]> wrote:
> Not working in Squeak 4.2. :(

Sadly I think you'll find it does work... but only if the mouse is
over the SystemWindow's title bar. Otherwise, the CodeHolder grabs the
alt-w.

frank

Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

laza
In reply to this post by marcel.taeumel (old)
Marcel,

the problem with that shortcut is, that your mouse pointer must be hovering over the "World" (Squeaks Desktop background). Then the Alt-w (or Cmd-w) will close the topmost Window. These are some other shortcuts:

        { $b.    SystemBrowser.                    #defaultOpenBrowser.                        'Open a new System Browser'}.
        { $k.    StringHolder.                    #open.                                        'Open a new, blank Workspace'}.
        { $m.    self.                                #putUpNewMorphMenu.                    'Put up the "New Morph" menu'}.
        { $t.    self.                                 #findATranscript:.                            'Make a System Transcript visible'}.
        { $w.    SystemWindow.                    #closeTopWindow.                            'Close the topmost window'}.

        { $C.    self.                                #findAChangeSorter:.                        'Make a Change Sorter visible'}.

        { $L.    self.                                #findAFileList:.                                'Make a File List visible'}.
        { $P.    self.                                #findAPreferencesPanel:.                    'Activate the Preferences tool'}.
        { $R.    Utilities.                                 #browseRecentSubmissions.        'Make a Recent Submissions browser visible'}.

        { $W.    self.                                 #findAMessageNamesWindow:.            'Make a MessageNames tool visible'}.
        { $Z.    ChangeList.                         #browseRecentLog.                            'Browse recently-logged changes'}.

        { $\.    SystemWindow.                     #sendTopWindowToBack.                    'Send the top window to the back'}.

Alex

2012/1/10 Marcel Taeumel <[hidden email]>
Not working in Squeak 4.2. :(

--
View this message in context: http://forum.world.st/Shortcut-to-close-a-system-window-tp4281625p4281822.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.




Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

laza
In reply to this post by Frank Shearar-3
Yes, this works definitely better with the Preference mouseOverForKeyboardFocus enabled:

"When true, the mouse must be over a text or list pane in morphic for keystrokes to be felt, and when the mouse is out over the desktop, the so-called desktop-command-keys, such as cmd-b and cmd-R, are honored.  When false, list panes and text panes in morphic remain sensitive to keystrokes even after the mouse is no longer over the pane."

Alex

2012/1/10 Frank Shearar <[hidden email]>
On 10 January 2012 12:25, Marcel Taeumel
<[hidden email]> wrote:
> Not working in Squeak 4.2. :(

Sadly I think you'll find it does work... but only if the mouse is
over the SystemWindow's title bar. Otherwise, the CodeHolder grabs the
alt-w.

frank




Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

marcel.taeumel (old)
Ahh, it works as you explained. Unfortunately, this is not that kind of instant-close I was looking for because it involves mouse movement and a keyboard shortcut. Hmmm.... thanks anyway! :)

Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Shortcut to close a system window

Chris Muller-3
> Ahh, it works as you explained. Unfortunately, this is not that kind of
> instant-close I was looking for because it involves mouse movement and a
> keyboard shortcut. Hmmm.... thanks anyway! :)

Actually you can be over any window other than the one you want to
close and press Cmd+w.  You do not necessarily have to be pointing at
the desktop.

Therefore, if in your mind if you can flip the sequence of

  "close this window"
  "point at the next interesting window"

and, instead, "point at the next interesting window" first, then the
Command+w is no more gestures than the "instant-close" you are looking
for.

But this would not work if the next interesting window is completely covered..



>
> Marcel
>
> --
> View this message in context: http://forum.world.st/Shortcut-to-close-a-system-window-tp4281625p4285270.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>