Re: Knowing when application terminates...
Re: Knowing when application terminates...
- Subject: Re: Knowing when application terminates...
- From: Albert Atkinson <email@hidden>
- Date: Thu, 18 Jul 2002 13:40:02 -0500
Thanks for your response...I have a question about what you
said...you said to use the Carbon process manager, would you be so
kind as to send some sample code my way? I did not know that
calling Carbon code in Cocoa applications was possible...sample
code would help greatly =)
Thanks!
Albert
On Thursday, July 18, 2002, at 12:34 PM, Finlay Dobbie wrote:
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.
_______________________________________________
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.