• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: making a screen dump app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: making a screen dump app
      • From: Shawn Erickson <email@hidden>
    • Re: making a screen dump app
      • From: email@hidden
References: 
 >making a screen dump app (From: Raul Fiedler <email@hidden>)
 >Re: making a screen dump app (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Why the need for the id type?
  • Next by Date: Re: [OFF] NSDistributedNotification
  • Previous by thread: Re: making a screen dump app
  • Next by thread: Re: making a screen dump app
  • Index(es):
    • Date
    • Thread