• 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 MyDocument from MainMenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open MyDocument from MainMenu


  • Subject: Re: Open MyDocument from MainMenu
  • From: todd ransom <email@hidden>
  • Date: Thu, 17 Mar 2005 08:52:05 -0700

Look at NSDocumentController's

openDocumentWithContentsOfFile:display:

TR

On Mar 16, 2005, at 9:40 PM, Kirt Cathey wrote:

Hi All!

I have seen this question before when trolling through the web and Apple archives, but have not had any luck when searching to retrieve the information.

I have a list of projects listed when a user starts the application listed in a MainMenu startup window. When the user double-clicks on an application listed in the table, I want that related MyDocument to open.

I have the double-click work and the NSString getting ciphered from the array of projects etc...., I just want to know how to open that document. The NSApp/openDocument method gives me an invalid identifier error, and NSWorkspace opens another instance of the application I am building.

Any suggestions/ideas?

Thank you,

From the desk of ..........
                   Barking Frog
email: email@hidden

_________________________________________________________________
MSN Hotmailで開運メルアド占い実施中 http://promotion.msn.co.jp/hotmail/fortune/input_un.asp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Open MyDocument from MainMenu
      • From: "Kirt Cathey" <email@hidden>
References: 
 >Open MyDocument from MainMenu (From: "Kirt Cathey" <email@hidden>)

  • Prev by Date: Re: display modal window once main window is visible
  • Next by Date: Re: returnCode from beginSheetModalForWindow is incorrect?
  • Previous by thread: Open MyDocument from MainMenu
  • Next by thread: Re: Open MyDocument from MainMenu
  • Index(es):
    • Date
    • Thread