• 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
open Recent document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

open Recent document


  • Subject: open Recent document
  • From: Dirk <email@hidden>
  • Date: Wed, 5 Jun 2002 15:53:00 +0200

Hello,


I try to get the menu option File... Open Recent ... running in my own application.
When I apply a statement like the following in the openDocument method the document appears in the recent document popup indeed:
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[theURLs objectAtIndex:0]];

However, when i click on the popup item (after closing the document), I get an Alert telling "Error: the document... could not be opened"

Could anyone tell me how to get this menu option running?

Thanks in Advance!

Dirk
_______________________________________________
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: drawing NOW in a callback, boom!
  • Next by Date: Re: Thread safe programming
  • Previous by thread: Re: Killing child tasks
  • Next by thread: Re: Thread safe programming
  • Index(es):
    • Date
    • Thread