Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Close Cocoa apps' preferences window via the keyboard Apps
Not too useful, but I noticed by accident that in most Cocoa apps--Safari, NetNewsWire Lite, Mail, but not TextEdit (which I thought was Cocoa)--that command-. will close the prefs window. It's handy for me when I want to minimize a window and miss by a key...
    •    
  • Currently 3.50 / 5
  You rated: 5 / 5 (4 votes cast)
 
[6,644 views]  

Close Cocoa apps' preferences window via the keyboard | 4 comments | Create New Account
Click here to return to the 'Close Cocoa apps' preferences window via the keyboard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Close Cocoa apps' preferences window via the keyboard
Authored by: the_webmaestro on Jan 06, '04 10:55:17AM
I believe the
[esc]
key will work too! (at least it works in Safari!)
 
Web Maestro Clay
 
p.s. Would you e-mail me something from the Keynote? (A gift would be great, but I guess I'd settle for a spec of dust!)
 
p.p.s. If this qualifies as a Hint in itself, could you "mod" this up to a real hint!? My D&D Karma could really use it!
 
p.p.p.s. Apologies for the testiness! I'm just wishing I could be there with you instead of here "working"...
 

---
Father of Jeremy Logan Leeds

[ Reply to This | # ]

Close Cocoa apps' preferences window via the keyboard
Authored by: rofl on Jan 07, '04 03:05:38AM

Since OS 8 I think, esc and command-. are equal...



[ Reply to This | # ]
Close Cocoa apps' preferences window via the keyboard
Authored by: LC on Jan 07, '04 01:29:25PM

Many of these prefs windows also obey a <CMD>-W to close;



[ Reply to This | # ]
Close Cocoa apps' preferences window via the keyboard
Authored by: aranor on Jan 07, '04 04:45:08PM

TextEdit is Cocoa. The real secret here is that the Panel class of window in Cocoa will close with the Escape key (and I guess the Cmd-. keystroke as well). And the preference window is general set to be a Panel in Cocoa apps. I guess in TextEdit it's not a panel (but you could make it one if you edit the nib file).



[ Reply to This | # ]