changing input language via command line

  • Thread starter Thread starter physicsGeek
  • Start date Start date
P

physicsGeek

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
 
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
I don't know if any of the Win32 perl ports has a working built-in
setlocale.
 
Mark Blain said:
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.
 
Back
Top