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

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


  • Follow-Ups:
    • Re: Opening an external file in a external application
      • From: John Love <email@hidden>
References: 
 >Re: Opening an external file in a external application (From: John Love <email@hidden>)

  • Prev by Date: Re: Subclassing NSTextView
  • Next by Date: Re: Should I retain a variable returned from this accessor?
  • Previous by thread: Re: Opening an external file in a external application
  • Next by thread: Re: Opening an external file in a external application
  • Index(es):
    • Date
    • Thread