changing input language via command line

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
 
M

Mark Blain

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.
 
H

Herb Martin

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top