• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re-open last saved document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re-open last saved document


  • Subject: Re-open last saved document
  • From: Beat Koch <email@hidden>
  • Date: Mon, 26 Aug 2002 10:52:59 +0200

When my multi-document application starts running, I want it to open the most receent document saved by the user. I have created a corresponding entry in the user defaults database and I am able to read this entry and open the relevant file on application startup.

What I need help with is how to _save_ the name of the most recently saved file. Writing to the defaults database is not the problem, but how do I know that the user just saved a document? And where can I get the file name (or whatever information is needed to successfully re-open a document) of that document? Is there some notification or delegate method call by NSDocumentController?

-- Beat _______________________________________________
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.
  • Prev by Date: Re: Open default email client
  • Next by Date: Re: where are the faster compilations?
  • Previous by thread: Re: Open default email client
  • Next by thread: Re: Re-open last saved document
  • Index(es):
    • Date
    • Thread