OSX: get application windows + borders

Is there a way to get a list of windows from another application and their borders. For instance. using F-Script or obj-c or in any other way (except AppleScript) to access the contents of the window of another (any other) Cocoa application and, possibly, change it?

I am talking about 1) access to data (like http://the.layersapp.com/ ) and 2) its modification

... outwardly

+3
source share
1 answer

See these questions: Getting the main window of another application , getting the unique identifier of another application in OS X. Basically, the two APIs you can use are Accessibility and CGWindow .

+1
source

Source: https://habr.com/ru/post/1730924/


All Articles