• 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: Keystrokes for non-ascii letters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keystrokes for non-ascii letters


  • Subject: Re: Keystrokes for non-ascii letters
  • From: "James W. Walker" <email@hidden>
  • Date: Sat, 29 Nov 2008 12:27:59 -0800


On Nov 29, 2008, at 10:48 AM, Dave DeLong wrote:

My goal now is to accept arbitrary strings and post the keyboard events for them. For ASCII characters, I can easily dispatch a CGEventRef. However, I want to be able to send non-ascii characters as well. Basically, any character that's valid on the iPhone I want to be able to mimic on the desktop. So this includes things like £, but also Asian characters that are inputted via the drawing keyboard.

Eric Schlegel already suggested CGEventKeyboardSetUnicodeString, although he misspelled it. As long as you can require 10.5.5 or later, that should do the trick.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Keystrokes for non-ascii letters
      • From: Dave DeLong <email@hidden>
References: 
 >Keystrokes for non-ascii letters (From: Dave DeLong <email@hidden>)
 >Re: Keystrokes for non-ascii letters (From: Ricky Sharp <email@hidden>)
 >Re: Keystrokes for non-ascii letters (From: Dave DeLong <email@hidden>)
 >Re: Keystrokes for non-ascii letters (From: Bill Bumgarner <email@hidden>)
 >Re: Keystrokes for non-ascii letters (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: reading a PDF
  • Next by Date: Rollover on custom Cells
  • Previous by thread: Re: Keystrokes for non-ascii letters
  • Next by thread: Re: Keystrokes for non-ascii letters
  • Index(es):
    • Date
    • Thread