如何自动化你的工作? [英] How to automate your work?

查看:59
本文介绍了如何自动化你的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以对键盘进行编程并按下多个键,如(ctrl + alt + del),是否可以移动光标并转到特定位置并执行按回车。我希望我的程序自动执行一系列功能.if yes然后使用哪种编程语言。

Is it possible to program keyboard and press multiple keys like(ctrl+alt+del) and is it possible to move your cursor and go at specific position and perform press enter.I want my program to perform some series of function automatically.if yes then which programming language is used to do so.

推荐答案

普通键盘本身无法编程(只有一些特殊的键盘支持此功能)。



但您可以编写程序,以便将关键消息插入到消息处理循环中。这不依赖于编程语言,而是依赖于使用的GUI系统。



无需移动鼠标光标来模拟按钮上的单击。同样,您可以向应用程序发送适当的鼠标按下消息,该消息将检测传递位置的控件并将消息转发给该控件。
A normal keyboard itself can not be programmed (only some special ones support this).

But you can write your program in such a way that key messages are inserted into the message processing loop. This does not depend on the programming language but on the used GUI system.

Moving the mouse cursor to simulate a click on a button is not necessary. Again, you can send an appropiate mouse down message to your application which will detect the control at the passed position and forward the message to that control.


这篇关于如何自动化你的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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