• 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
Opening an external file in a external application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening an external file in a external application


  • Subject: Opening an external file in a external application
  • From: John Love <email@hidden>
  • Date: Mon, 11 Aug 2008 14:28:18 -0400

I have a multiple document Cocoa app where I (try to) open an external file in whatever application the file belongs to -- in my case, an Excel spreadsheet in Excel. The new Cocoa document window shown keeps track of the calculation progress in Excel via a NSProgressIndicator and a NSTextField.

So, instead of opening a text file and showing it directly in the NSWindow of MyDocument, I just want to startup Excel by selecting the appropriate file in Cocoa's open dialog. I have 'XLS8' in my "info.plist" file. The Excel spreadsheet opens up and the NSProgressIndicator starts spinning and the appropriate text is placed in the NSTextField.

I believe I want to do this opening within my override of - readFromURL. Am I on the right track here?

John Love

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Opening an external file in a external application
      • From: John Love <email@hidden>
  • Prev by Date: Re: Newbie Question on "self"
  • Next by Date: Re: Thread deadlock?
  • Previous by thread: Re: Newbie Question on "self"
  • Next by thread: Re: Opening an external file in a external application
  • Index(es):
    • Date
    • Thread