Globally modify "new document" behavior in document-based applications
Globally modify "new document" behavior in document-based applications
- Subject: Globally modify "new document" behavior in document-based applications
- From: Eric <email@hidden>
- Date: Sun, 28 Jan 2007 00:33:58 -0800
Hi all,
I want to create a hack that would prevent document-based applications from
bringing up document minimized in the dock when all of its windows are
minimized and the dock icon of the application is clicked. Instead, a new
document window will be created.
Why do I want to do this? I personally feel Apple made a mistake with the
current dock behavior. Nine times out of ten when I invoke an app while all
its windows are minimized, I want it to create a new window instead of
maximizing an existing window. I think it makes sense that if the user
minimize something in the dock, it should stay there until the user
explicitly calls for it. Anyone agrees?
So, my question is, how would I achieve such a thing? I understand
NSDocumentController is the object responsible for this behavior. Could I
create a category that modifies its behavior?
Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden