Re: How to write a remote control app for Mac
Re: How to write a remote control app for Mac
- Subject: Re: How to write a remote control app for Mac
- From: "Michael Ash" <email@hidden>
- Date: Tue, 11 Nov 2008 00:05:57 -0500
On Mon, Nov 10, 2008 at 2:49 PM, David <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden