On 2006-06-02, at 08:41:16, Maurice Volaski wrote:
Does anyone know how to tell programmatically whether a particular
keyboard layout is on or not? The International system preference
pane lets users turn keyboard scripts "on" or "off" and the ones
that are on show up in the input menu and only those can be made
active.
KLGetKeyboardLayoutProperty will let me fetch the properties for
individual layouts, but as far as I can tell there is no on or off
property:
Hi Maurice,
I know this is not what you really need, but if you want to a least
further the development process until a function is found, you can
get the ON/OFF state by using GUI scripting (or AppleEvents). It
would mean that you'd have to offer a "feature" such as a "Syncronize
with Input Menu" button and then let the user watch and wait until
the script completed. I have a sample script available if you wish to
follow this path.
Philip Aker
philip->vcn.dot.bc.dot.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden