• 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
Restore Application With last open document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Restore Application With last open document


  • Subject: Restore Application With last open document
  • From: Cornelius Jaeger <email@hidden>
  • Date: Tue, 27 Apr 2004 15:30:40 +0200

Hi list,

i'm new here and to cocoa, so here goes:

when i start (restart) my document based app, is there an easy way to tell it to open the last saved document, or the document that was open last.
to clarify, i'm writing a display client, and if the machine needs to be restarted remotely the app needs to restart (no worries there using a systemStartupItem).
so i'd like it to open the document that was saved last automatically, or, open all the documents that where open, when the app shut down.

is there a way to do this?

thx

cornelius
_______________________________________________
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.


  • Follow-Ups:
    • Re: Restore Application With last open document
      • From: John Randolph <email@hidden>
  • Prev by Date: Re: Very annoying bug with NSMutableAttributedString
  • Next by Date: Re: Very annoying bug with NSMutableAttributedString
  • Previous by thread: Re: Very annoying bug with NSMutableAttributedString
  • Next by thread: Re: Restore Application With last open document
  • Index(es):
    • Date
    • Thread