Re: making a screen dump app
Re: making a screen dump app
- Subject: Re: making a screen dump app
- From: Raul Fiedler <email@hidden>
- Date: Tue, 19 Jun 2007 03:09:59 +0200
This is what I found thanks to the earlier reply.
CGS is CoreGraphics Services, the WindowServer SPI
Apparently there is a un-documented header file: cgsprivate.h
Which contains the method CGSGetOnScreenWindowList
This is all very promising. However my test code throws exceptions
when trying to get the default CGSConnection.
CGSConnection _CGSDefaultConnection(void);
What could be the problem? Some other ways to get a CGSConnection?
Thanks
On Jun 19, 2007, at 2:21 AM, John Stiles wrote:
There is no way to do this without resorting to private system
interfaces (CGS*).
On Jun 18, 2007, at 5:15 PM, Raul Fiedler wrote:
Hi
I would like to iterate trough all windows visible on the screen,
and make screen shots of the content in the windows.
Since the GWPort is deprecated I have troubles to access the
content in the window.
Please could somebody suggest what is the right approach.
Futher how is it possible to get hold of all visible windows from
all running application.
Suggestions either in cocoa or carbon are most welcome
thanks_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden