Re: Opening an external file in a external application
Re: Opening an external file in a external application
- Subject: Re: Opening an external file in a external application
- From: Shawn Erickson <email@hidden>
- Date: Wed, 13 Aug 2008 09:09:58 -0700
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 from within
my Cocoa app):
1) be able to save the Excel spreadsheet
2) be able to stop any calculation in progress
3) be able to detect if the user closed the spreadsheet "behind the
back" of my Cocoa app, upon which my Cocoa app would raise a NSAlert.
Before I forget again, one question *not* related to the above,
namely, the call within my overridden readFromURL:
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.
_______________________________________________
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