I'm new to OS X programming, but what I'm looking to do is find the dimensions and positions of a specific window ( of a specific process) , then ultimately create a frame capture over that to simulate a screen recording of a specific application programmatically.
How does one find a specific window (Swift) , more specifically what API would I need. It appears the apple docs are a complete mess and I see several apis that touch on this functionality.
Any guidance or sample would be helpful here.