• 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: Knowing when application terminates...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing when application terminates...


  • Subject: Re: Knowing when application terminates...
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 18 Jul 2002 18:34:38 +0100

On Thursday, July 18, 2002, at 06:17 PM, Albert Atkinson wrote:

I looked all over the documentation and can not find anything that does what I want. What I have is a timer that fires every few seconds that will check to see if a specific application is open, if not it will open it, here is the basic structure of what I am needing:

if ( APP IS NOT RUNNING ) {
[[NSWorkspace sharedWorkspace] launchApplication: @"APP NAME"];
}

I think you'll need the Carbon Process Manager to do what you want.

--
Finlay Dobbie
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Knowing when application terminates...
      • From: Albert Atkinson <email@hidden>
    • Re: Knowing when application terminates...
      • From: Ondra Cada <email@hidden>
References: 
 >Knowing when application terminates... (From: Albert Atkinson <email@hidden>)

  • Prev by Date: Very strange problem
  • Next by Date: Using CVS
  • Previous by thread: Knowing when application terminates...
  • Next by thread: Re: Knowing when application terminates...
  • Index(es):
    • Date
    • Thread