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: How to determine input menu choice?




On Mar 24, 2007, at 5:15 AM, Edward de Jong wrote:

I want my program to behave differently when Hebrew is selected, vs. English and other choices. I can't seem to find the system call that will tell me the currently selected input menu choice from the little flag icon that is on the right of the menu bar. The menu bar shows various input choices, and yet the script manager calls don't seem to return a value that tracks the menu.

The Script Manager is old technology and Deborah Goldsmith (Apple's guru in all things related to this) has been telling us for a long time to move away from using it.


The current script is often reported at 126 (unicode) and doesn't change between hebrew and hawaiian. So what is the API call to get the keyboard input method choice.

IIRC, there is no script code for Hawaiian, as well as a number of other languages supported in Mac OS X.


How exactly do you want the behavior of your application to change when the input changes?

Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >How to determine input menu choice? (From: Edward de Jong <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.