Re: Opening Documents at Unhide
Re: Opening Documents at Unhide
- Subject: Re: Opening Documents at Unhide
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 27 Sep 2002 10:09:59 +0200
On Donnerstag, September 26, 2002, at 06:30 , Greg Titus wrote:
On Thursday, September 26, 2002, at 08:35 AM, Gerriet M. Denkmann
wrote:
I have a document-based-application, have opened fourteen documents,
and have miniaturized all fourteen.
Then I use some other application.
Now I want to work again on one of my fourteen documents.
Yes, I could try to find the wanted document in the dock. But this is
not very convenient.
So I just click on the application again, intending to use its
Window-menu to open the document which I need.
But when I click my application, some document gets always opended.
Well, you could avoid your whole problem with no code changes by just
control-clicking, or click-and-holding on the dock icon, which will pop
up a menu with all of the open windows in that app for you to choose
from.
Thank you very much! This is indeed a very valuable feature.
(Another question: where are these things documented? There sure are
other valuable control-command-alternate-escape-click-double-click
combinations I should know about.)
But another point: other applications send DO-messages to my app like:
"open document abc at line 123". And when all windows have been
miniaturized, then in addition to the requested document some arbitrary
doc is opened and most often even placed on top of the one I want to see.
So I followed your other suggestion:
See the NSApplication delegate method
-applicationShouldHandleReopen:hasVisibleWindows: if you really must
change this.
And now everything works as I want it to work. Thanks a lot!
(Another aside: I scrolled through all NSApplication methods, including
the Delegate ones using the excellent tool AppKiDo several times, but
did not see this. A full text search function on documentation, release
notes, example code, even my own code would be a very valuable thing to
have - same as DigitalLibrarian on my NeXT)
This behavior is part of Apple's human interface guidelines, so I would
recommend against changing it in your app, but it's up to you...
Nothing against guidelines, but if they annoy me several times every few
minutes, they have to go.
Gerriet.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.