Opening an external file in a external application
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