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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to