"Mark Blain" <(E-Mail Removed)> wrote in message
news:Xns98D2AFDA750B6mblainalbany@207.46.248.16...
> "physicsGeek" <(E-Mail Removed)> wrote in
> news:(E-Mail Removed):
>
>> Hi,
>>
>> How can I change the input language via the command line in stead
>> of clicking on the language bar (or using the left Shift-Alt keys).
>>
>> (The real issue is that I need to be able to change it from within
>> a Perl program and sending a command to the command line is
>> the only thing I can think of.)
>>
>> Thanks in advance,
>> Sean
>
> The freeware program "setlocale" may do what you need.
> http://www.spectrodisplay.nl/download/index.html
That looks cool -- but I just tried it with my Win2003 which has
Arabic (Iraqi) loaded (00000401) and nothing changed.
Then I (used the taskbar icon to) set locale to Russian and the command
line locale set it back to English when I used the English code.
Then I received unreliable results trying to set Arabic to Russian (seemed
to go to English if it changed at all.)
Some of this may be due to "application specific" issues -- notepads
and OE messages already open, the focus, etc.
> I don't know if any of the Win32 perl ports has a working built-in
> setlocale.