Re: SetFrontProcess for Cocoa
Re: SetFrontProcess for Cocoa
- Subject: Re: SetFrontProcess for Cocoa
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 24 Sep 2003 22:00:39 -0700
On Wednesday, September 24, 2003, at 09:10 PM, Maria Annadelle Ramas
wrote:
We have found a SetFrontProcess API in Carbon, I would
like to ask if someone
knows of a Cocoa counterpart of this API.
You do know that you can make Carbon calls from Cocoa applications,
right? <8*) If you have the PID, then you can call GetProcessForPID()
and put the result into SetFrontProcess().
You could also send the "activate" AppleScript command to the
application, which will bring it to the front.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
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.