Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is AXUIElementPostKeyboardEvent for?



on 02-12-16 2:48 PM, John O. Louch at email@hidden wrote:

> The how to use
> it part is documented in the header file of CGRemoteOperation.h

Well, yes, but I was hoping for a little more context.

For example, in practice, how does a developer writing a routine using
CGPostKeyboardEvent find the virtual CGKeyCode that must be provided as a
parameter? I do have a little utility that tells me what keyCode is
generated by the keys on my keyboard. Is that all I need to ensure that my
routines will work as expected on other keyboards, for example, in other
countries?

IM Text tells me all about KMAP resources and KeyTranslate and all that. But
if the virtual keyCode is supposed to be standardized, or invariant, or
hardware independent, I would have expected a printed table.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: What is AXUIElementPostKeyboardEvent for? (From: "John O. Louch" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.