Does anyone has any idea how can I capture screen using objective c in mac os?
to be more specific, how can I capture the active / focused application screen then create an image into a specified path.
Any help is highly appreciated.
views:
439answers:
2
+2
A:
Have you checked out Apple's “Son of Grab” for capturing images of windows with the CGWindow api?
Arkku
2009-11-06 14:30:25
yeah, i have seen it, i'm rather new to objective c, Son of Grab is a bit difficult for me. my requirement is very simple, create an app which runs in background, upon meeting certain criteria, just capture the current focused window and create an image on a specified path
Daniel
2009-11-07 05:48:54