Link to home
Start Free TrialLog in
Avatar of Fenplast
FenplastFlag for Canada

asked on

Any way to stick a keyboard layout to an apps?

Hi,
I have to keyboard layout installed on my Windows 7, FR and EN.

I use FR in Office in general and I also work a lot with unix server where I login using putty which I manually switch to EN everytime.

Is there a way (or an third party application) to make sure my keyboard layout is EN when I start PuTTY?

Thank you!
Avatar of Dana Seaman
Dana Seaman
Flag of Brazil image

See Public Function SetKbLayout
Const LANG_EN_US As String = "00000409"
Sample usage for EN keyboard: SetKbLayout LANG_EN_US '

http://allapi.mentalis.org/apilist/LoadKeyboardLayout.shtml
http://allapi.mentalis.org/apilist/LoadKeyboardLayout.shtml#
Avatar of jimyX
jimyX

Let me check if I understood your requirement correctly, you need the active keyboard language to be En whenever you switch to PuTTY? If yes, then:
Generally there is no way, it has to be programmed in PuTTY itself to select certain language when it's activated.
Avatar of Fenplast

ASKER

Danaseaman: What you suggest is to use a VB Script to set the keyboard layout, then call PuTTY?

JimyX: You did understand me well, When I start PuTTY, I change the language manually via the language bar, I just wonder if there is a way to automate that.
ASKER CERTIFIED SOLUTION
Avatar of Dana Seaman
Dana Seaman
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, thanks for the answers.

You did not gave me the answer I wanted but I understand it is not feasible!

Thanks for your effort :)