Re: CGPostKeyboardEvent() to post Unicode;;
Re: CGPostKeyboardEvent() to post Unicode;;
- Subject: Re: CGPostKeyboardEvent() to post Unicode;;
- From: John Louch <email@hidden>
- Date: Thu, 23 Sep 2004 08:41:50 -0700
Nope. Though we have this a bug request already for the accessibility API.
Thanks,
jl
> Hey David,
>
> I don't mind help from competition if you don't mind helping the
> competition ;) .
>
> The problem I am thinking of is that say someone has a Japanese
> keyboard and they want to type a Japanese unicode character, say 0x4586
> (actual char: '䖆')....they do this through some certain keystrokes.
> Then they move to a US keyboard and still want to send that same
> Japanese unicode character. Now there is no way to generate this on a
> regular US-101 or 102 keyboard (unless you have the Unicode Hex Input
> method on and type "Option+4+5+8+6" (like I did to generate the above
> character)).
>
> So basically I would want to instead of sending keystrokes to just send
> unicode characters directly. Is there anything like that for OS X?
>
> - Matt
>
>
>
> On Sep 23, 2004, at 1:10 AM, David Niemeijer wrote:
>
>> Hi Matt,
>>
>> At 11:55 AM -0600 22/9/04, Matt Budd (Madentec) wrote:
>>> I know that CGPostKeyboardEvent() can be used to simulate keystrokes
>>> (by providing the keycode), but what do I use if I just want to send
>>> an application a unicode character (that might not be enterable
>>> directly by the keyboard and a matching keycode)?
>>
>> If you do not mind some help from the competition: You need to send
>> all the keystrokes that would be needed on the physical keyboard to
>> generate that unicode character. For example, to generate an e with an
>> accent, you would send "option-e" followed by "e".
>>
>> Hope this helps,
>>
>> david.
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--------------------------------------------------
John Louch Internet #: email@hidden
(805) 546 0216
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden