1

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.

bonez
  • 685
  • 1
  • 16
  • 39
  • 2
    For your first question, you can refer to http://stackoverflow.com/questions/21069066/move-other-windows-on-mac-os-x-using-accessibility-api – Anthony Kong Dec 17 '15 at 01:42
  • 3
    I suggest that you go over the code of [Son of Grab](https://developer.apple.com/library/mac/samplecode/SonOfGrab/Introduction/Intro.html), an Apple demo that does exactly what you described. – Code Different Dec 17 '15 at 02:36

0 Answers0