Re: Keystrokes for non-ascii letters
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