使用哪种语言以及使用哪种软件 [英] What language to use and which software

查看:93
本文介绍了使用哪种语言以及使用哪种软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下总n00b(和long)问题的道歉

我想要一些有关我将要开始编写的程序要使用哪种语言的建议,这需要

1.在Windows上运行
2.能够检测到当时正在运行哪个程序
3.检测当前正在使用哪种语言和键盘布局.如果还知道每个按键在键盘上的物理位置,那将是很好的选择(我不确定这是否可能,因为并非所有例如"UK English"的键盘看起来都一样,并且我的理解是否完全相同.键盘映射的工作原理是正确的,我不认为物理按键位置信息是个人计算机知道的" ...但是会很好)
4.快速生成键盘图像,并在正确的位置显示所有正确的符号.我在想一些空白的键盘图像,该图像被填充"了每个键的较小图像.我确实考虑过离线"创建自己的静态图像,但是这样做有几个缺点,尤其是我必须为所有不同的键盘布局手动创建图形(我非常想避免这种情况) !)
5.将上面生成的键盘图像作为透明覆盖显示在屏幕上.不需要将其用作软键盘

坦白说,我什至不知道以上哪一步最有可能影响我使用语言的决定.目前,这对我来说是鸡和鸡蛋.一旦我学会了我选择的语言,如果它不是最适合这份工作的语言,那就太迟了,但是要知道这一点,我将不得不首先学习它.对于实现上述程序最简单的语言,我将不胜感激.

感谢任何帮助或建议,包括类似示例的代码示例.

提前谢谢!

Apologies for the following total n00b (and long) question

I would like some advice on which language to use for a program I am about to start writing, that needs to

1. Run on Windows
2. Be able to detect which program is running at the time
3. Detect which language and keyboard layout is currently in use. It would be great if it also knows where each key is physically on the keyboard (I am not sure if this will even be possible, since not all keyboards that are "UK English" for example, look exactly the same and if my understanding of how keyboard mapping works is correct, I don''t think physical key location information is something the pc "knows"... but it would be nice)
4. Generate, on the fly, an image of the keyboard with all the correct symbols in the correct locations. I''m thinking something along the lines of a blank keyboard image that gets "populated" with smaller images of each of the keys. I did consider a static image that I create myself "off-line", but there are several disadvantages to this, not least that I would have to create graphics manually for all the different keyboard layouts (something I''d REALLY like to avoid!)
5. Display above generated keyboard image to the screen as a transparent overlay. There is no requirement for it to be functional as a soft keyboard

Frankly, I do not even know which step above is most likely to influence my decision of language to use. It''s a total chicken and egg for me at the moment; once I''ve learned the language I''ve chosen, it''s too late if it wasn''t the best one for the job, but to know this, I would have had to learn it first... So I would really appreciate any pointers as to which language is going to be easiest for implementing the above outlined program.

Any help or advice appreciated, including code examples of anything similar.

Thanks in advance!

推荐答案

ldx00写道:

一旦我学会了我选择的语言

once I''ve learned the language I''ve chosen,



答案可能是C#,但是我建议如果您不知道如何编程,那么距离学习所需的所有东西还有很长的路要走.

我相信,通常您可以从语言环境中猜测kb的布局.



The answer is probably C#, but I would suggest if you have no idea how to program, you''re a long way from learning all the things you need in order to do what you want.

You can generally guess the kb layout from the locale, I believe.


这篇关于使用哪种语言以及使用哪种软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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