• 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: How to write a remote control app for Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to write a remote control app for Mac (From: David <email@hidden>)

  • Prev by Date: Re: Quicktime Movie View error
  • Next by Date: Re: Stop NSFileManager copyFile in progress? Can you kill a thread?
  • Previous by thread: Re: How to write a remote control app for Mac
  • Next by thread: Stop NSFileManager copyFile in progress? Can you kill a thread?
  • Index(es):
    • Date
    • Thread