• 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
Launch another app without losing focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch another app without losing focus


  • Subject: Launch another app without losing focus
  • From: Mike Kobb <email@hidden>
  • Date: Mon, 12 Jun 2006 23:13:24 -0700

Greetings,

I'm working on a little project that is a System Preferences pane which controls a server.

One of the things the pane may do is to launch a faceless background "helper" application. I'm doing this like so:

[[NSWorkspace sharedWorkspace] launchApplication:helperPath];

helperPath is the path to my helper app.

This works great, but when I do this, the System Preferences main window becomes inactive, and I have to click the window to have it become active again.

Is there a different way to launch an app like this so that I don't lose activation?

Thanks!
--Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Launch another app without losing focus
      • From: Ryan Britton <email@hidden>
    • Re: Launch another app without losing focus
      • From: Greg Herlihy <email@hidden>
    • Re: Launch another app without losing focus
      • From: Chris Suter <email@hidden>
  • Prev by Date: Re: Creating Shared Named Objects
  • Next by Date: Re: Launch another app without losing focus
  • Previous by thread: Re: Problem using my Framework
  • Next by thread: Re: Launch another app without losing focus
  • Index(es):
    • Date
    • Thread