Skip to content

Instantly share code, notes, and snippets.

@keith
Created January 19, 2015 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keith/cc2307b81ee1270c64f3 to your computer and use it in GitHub Desktop.
Save keith/cc2307b81ee1270c64f3 to your computer and use it in GitHub Desktop.
NSWindow APIs
http://stackoverflow.com/questions/5286274/front-most-window-using-cgwindowlistcopywindowinfo
http://stackoverflow.com/questions/13426488/notification-of-active-document-change-on-os-x
https://github.com/ianyh/Amethyst/blob/master/Amethyst/AMWindowManager.m
http://stackoverflow.com/questions/12540010/how-to-identify-window-under-mouse-with-objective-c
http://stackoverflow.com/questions/15612050/cocoa-objective-c-how-to-know-which-control-is-under-the-cursor
https://github.com/jigish/slate/blob/ff5ee5a53afc05b619cf9eb78e852b83ad714de4/Slate/RunningApplications.m
http://stackoverflow.com/questions/853833/how-can-my-app-detect-a-change-to-another-apps-window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment