Bringing app to front
Bringing app to front
- Subject: Bringing app to front
- From: Bill Houston <email@hidden>
- Date: Fri, 14 May 2004 13:08:23 -0700
I have a Cocoa application which needs to be launched from a script.
In the past (using Carbon Applications) I have used this in the application:
ProcessSerialNumber processSerialNum;
GetCurrentProcess(&processSerialNum);
OSErr persOSErr = SetFrontProcess(&processSerialNum);
with complete success, however it does not seem to work for Cocoa
applications. I would rather not have to rewrite this as a Carbon app if I
can help it.
Does anyone know how to do this with Cocoa?
Thanks,
Bill
_______________________________________________
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.