Focus Window by CGWindowID

Posted by JustSid on Stack Overflow See other posts from Stack Overflow or by JustSid
Published on 2010-05-25T19:43:29Z Indexed on 2010/05/26 5:41 UTC
Read the original article Hit count: 276

Filed under:
|
|

Is it possible to focus a NSWindow by its CGWindowID? And yes, how?

I need to focus a Window of another application, but I have only its CGWindowID and I can only find sample code about retrieving the ID, but not how to focus a Window by its ID.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa