Solved

Any way to stick a keyboard layout to an apps?

Posted on 2011-03-25
8
359 Views
Last Modified: 2012-05-11
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!
0
Comment
Question by:Fenplast
  • 2
  • 2
  • 2
8 Comments
 
LVL 22

Expert Comment

by:danaseaman
ID: 35310127
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#
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35312132
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.
0
 

Author Comment

by:Fenplast
ID: 35315047
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.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 22

Accepted Solution

by:
danaseaman earned 250 total points
ID: 35315618
Esentially yes, but I don' think you can call this code from VbScript.

The code supplied is Vb6 but should work also in VBA.

For vbScript you would probably have to create a DLL using Vb6 and call that from vbScript. Or create a Vb6 Exe and call that from vbScript (ShellExecute)..
0
 
LVL 24

Assisted Solution

by:jimyX
jimyX earned 250 total points
ID: 35317099
Then I doubt if that is possible through easy and clean way. It has to involve hacking/programming, such as embedding the PuTTY in another application that sets the default keyboard layout to any particular language.
0
 

Author Comment

by:Fenplast
ID: 35317462
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 :)
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now