以编程方式将键盘更改为Dvorak [英] Programmatically change keyboard to Dvorak

查看:102
本文介绍了以编程方式将键盘更改为Dvorak的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道我可以用来将Windows机器上的键盘布局更改为Dvorak的API调用吗?通过UI可以很容易地做到这一点,但是我想拥有一个可以在新VM上运行的脚本来自动执行该过程.

Does anyone know the API call I can use to change the keyboard layout on a windows machine to Dvorak? Doing it through the UI is easy but I'd like to have a script that I can run on new VM's to automate the process.

推荐答案

我参加聚会可能晚了四年,但是您有没有发现这个问题:

I may be four years late to the party, but did you ever find this:

Intlcfg命令行选项

我没有Windows Vista(非常不好的习惯,Windows),但是在此页面以及

I don't have Windows Vista (very bad habit, Windows), but looking at this page and also at Available Language Packs and Default Input Locales I reckon the command you want might well be:

intlcfg.exe -inputlocale:0409:00010409

使用美国Dvorak输入语言环境的英语(美国)语言.

for English (United States) language with United States Dvorak input locale.

这篇关于以编程方式将键盘更改为Dvorak的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆