Re: Opening an external file in a external application

2008-08-16 Thread has
John Love wrote: Really though, what's best/practical/possible all depends on what you're trying to do, so if you want more advice then you'll need to provide more information. Very short info list is as follows (stuff I need to do from within my Cocoa app): 1) be able to save the Excel

Re: Opening an external file in a external application

2008-08-14 Thread John Love
On Aug 13, 08, at 12:09 PM, Shawn Erickson wrote: On Aug 13, 2008, at 8:17 AM, John Love wrote: On 12 Aug 2008, has wrote: Really though, what's best/practical/possible all depends on what you're trying to do, so if you want more advice then you'll need to provide more information.

Re: Opening an external file in a external application

2008-08-14 Thread John Love
workSpace = [NSWorkspace sharedWorkspace]; success = [workSpace openURL:absoluteURL]; activates Excel .. what do I need to add to re-activate my Cocoa app .. activate me was terribly easy with AppleScript. NSApplication has methods to active your application. found it ... thanks!

Re: Opening an external file in a external application

2008-08-14 Thread Nate Weaver
- (BOOL)openURLs:(NSArray *)urls withAppBundleIdentifier:(NSString *)bundleIdentifier options: (NSWorkspaceLaunchOptions)optionsadditionalEventParamDescriptor: (NSAppleEventDescriptor *)descriptor launchIdentifiers:(NSArray **)identifiers Long method name, but you can pass in

Re: Opening an external file in a external application

2008-08-13 Thread John Love
On 12 Aug 2008, has wrote: Really though, what's best/practical/possible all depends on what you're trying to do, so if you want more advice then you'll need to provide more information. Very short info list is as follows (stuff I need to do from within my Cocoa app): 1) be able to

Re: Opening an external file in a external application

2008-08-13 Thread Shawn Erickson
On Aug 13, 2008, at 8:17 AM, John Love wrote: On 12 Aug 2008, has wrote: Really though, what's best/practical/possible all depends on what you're trying to do, so if you want more advice then you'll need to provide more information. Very short info list is as follows (stuff I need to do

Re: Opening an external file in a external application

2008-08-12 Thread John Love
On Aug 11, 08, at 2:28 PM, John Love wrote: 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

Re: Opening an external file in a external application

2008-08-12 Thread has
John Love wrote: I still need to figure out if it is possible for Excel to communicate back to my app via some sort of NSNotification. Very much doubt it, though you always can try Tildesoft's Notification Watcher just to be sure. Depending on the sort of operation it is that you're

Re: Opening an external file in a external application

2008-08-12 Thread Graham Cox
On 13 Aug 2008, at 4:10 am, John Love wrote: I don't have much hope of that .. so what I probably need to focus on is how to display the Excel spreadsheet in my document window. Any ideas will definitely be very appreciated. The good news (of sorts) is that MS recently published most of

Re: Opening an external file in a external application

2008-08-12 Thread Jason Stephenson
has wrote: ... and don't forget stuff like OpenOffice which contain full-blown spreadsheet engines and Excel file importers/exporters. I'll make a plug for OpenOffice.org here. The 3.0 release for Mac OS X is going to be completely Aqua native with the interface done in Cocoa. This work is

Opening an external file in a external application

2008-08-11 Thread John Love
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

Opening an external file in a external application

2008-08-11 Thread John Love
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