I want to get the information about active window in Mac OSX.
I have found "CGWindowListCopyWindowInfo" method which returns list of windows. As far as the documentation of this method is concerned, I cannot determine the current selected window in Mac OSX.
Code I found regarding this is here:
http://stackoverflow.com/questions/5286274/front-most-window-using-cgwindowlistcopywindowinfo
Can anybody help me in this regard ?
I have found "CGWindowListCopyWindowInfo" method which returns list of windows. As far as the documentation of this method is concerned, I cannot determine the current selected window in Mac OSX.
Code I found regarding this is here:
http://stackoverflow.com/questions/5286274/front-most-window-using-cgwindowlistcopywindowinfo
Can anybody help me in this regard ?