开发者

Activate "Caps lock" key for different languages

I want to write a program that can turn on Caps lock key without having the user to press the physical key on his keyboard.

Is there a way to do so in Flash, Javascript - if not, any other langu开发者_运维问答ages ?


UGG, THAT WOULD BE ANNOYING.

If you need to display user input in caps you can transform the text when you process the input in the backend, or style it properly when you render the text on the frontend.


Finaly, I've been using Python and the SendKey library for Windows. http://www.rutherfurd.net/python/sendkeys/

capslock.py

import SendKeys
SendKeys.SendKeys("""{CAPSLOCK}""")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜