How to automatically move and click mouse key using at least batch files?

坚强是说给别人听的谎言 提交于 2020-01-17 11:07:26

问题


I learned recently I could use batch files and JavaScript to send to keyboard presses and movements to the interface I am currently using. (See this question for one of the problems I solved using the information from this question.)

However, I am not an experienced JavaScript or any other language user yet I am proficient in writing the general basic language. While I know there are many JavaScripts, heck even other languages, that allow you to create mouse movement and clicks (see here for one possible way of doing this), I figured that there could be some way of integrating batch files with the other form of programming language types for simply creating mouse interaction, much like the one person in link 2 integrated the JavaScripts and batch files in order to create key presses.

I need to know how i can control the mouse from a batch file using a javascript if needed. (Most likely to be needed as no batch file command has jurisdiction over either mouse or keyboard directly.)


回答1:


Theres a configuration out on my windows 7 called mouse keys. This allows the mouse to be controlled by the keyboard, of which i can already easily control using the JScript to press keys. Heres the official link...

http://windows.microsoft.com/en-us/windows7/use-mouse-keys-to-move-the-mouse-pointer



来源:https://stackoverflow.com/questions/29813190/how-to-automatically-move-and-click-mouse-key-using-at-least-batch-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!