• 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: Simulating Text Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating Text Input


  • Subject: Re: Simulating Text Input
  • From: Eiko Bleicher <email@hidden>
  • Date: Thu, 20 May 2010 01:57:49 +0200

Thanks. I looked into it - compiled and run. The code uses the keycodes as well, and finally doesn't give special characters (tested with JollyVNC client and an iPad app).

I think I can get it running "good enough" - but of course a nice solution is preferred. At least only the "ANSI" named subset will have different keycodes. But those nasty combined characters like é will make me set up a lookup table that get's filled up with trial and error on program start.

Eiko Bleicher


Am 19.05.2010 um 14:43 schrieb Paul Sanders:

> > I am working on a remote-controller, i.e. take one device (be it a Mac or a mobile client) and control another
> > Mac. So the application runs in background and the events should be delivered to the front-most application.
>
> > Moving the mouse around works by posting the corresponding events, but I have a hard time to simulate key strokes.
>
> ...
> I would take a look at the source code for VNC:
>
> http://sourceforge.net/projects/osxvnc/
>
> Indeed, if you write a client that can talk to a VNC server you don't need to write your own server at all.
>
> Paul Sanders
>

_______________________________________________

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: 
 >Simulating Text Input (From: Eiko Bleicher <email@hidden>)
 >Re: Simulating Text Input (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Adding Mutiple Lines to a UITableView
  • Next by Date: Re: Get controller from nib
  • Previous by thread: Re: Simulating Text Input
  • Next by thread: Re: Simulating Text Input
  • Index(es):
    • Date
    • Thread