Is there a way to use the OSX cocoa NSApplication method activateIgnoringOtherApps: to activate an a

Posted by Michael Minerva on Stack Overflow See other posts from Stack Overflow or by Michael Minerva
Published on 2009-11-12T00:27:48Z Indexed on 2010/05/20 18:50 UTC
Read the original article Hit count: 279

Filed under:
|
|

This may be a dumb question but it seems like activateIgnoringOtherApps: may be the only way to activate an app using Cocoa. I have a java app that loads up a Cocoa app and I want the Cocoa app to be activated when this happens. The problem is I do not want to have to launch an intermediate app (some sort of controller) and use this app to activateIgnoringOtherApps: my other Cocoa app. Is there some way to use activateIgnoringOtherApps: to force my Cocoa app to become active?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about osx