On Mon, Nov 10, 2008 at 2:49 PM, David <[EMAIL PROTECTED]> wrote: > Hello, > Can someone point me to general documentation that would give me an > idea how to write a remote control application for the Mac. > > The hardest part seem to be how to capture what's currently on the > screen and when it changes. > > I have no idea where to look. Is it even possible to do this while > using public APIs?
You bet! To capture the screen, look here: http://www.cocoadev.com/index.pl?ScreenShotCode That page shows many different approaches and discusses their various tradeoffs. If speed is your goal, using OpenGL to capture the contents is the way to go. To find out when the screen changes, look through the functions in CGRemoteOperation.h. That header has functions which can be used to find out when portions of the screen change and where the change happened. However, if I may ask, given the existence of good, free VNC servers (including one that ships with the OS), why reinvent the wheel? Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]