如何自动移动和点击鼠标键使用至少批处理文件? [英] How to automatically move and click mouse key using at least batch files?

查看:502
本文介绍了如何自动移动和点击鼠标键使用至少批处理文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近学到了我可以使用批处理文件和JavaScript发送到键盘按压和移动到我目前使用的界面。 (请参见此问题的问题,我使用来自此问题的信息。)

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.)

然而,我不是一个有经验的JavaScript或任何其他语言用户,但我精通写一般的基本语言。虽然我知道有许多JavaScript,甚至其他语言,允许您创建鼠标移动和点击(参见在这里一个可能的方式这样做),我想,可能有一些方式集成批处理文件与其他形式的编程语言类型简单地创建鼠标非常像链接2中的一个人集成JavaScript和批处理文件以创建按键。

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.

我需要知道如何控制鼠标从如果需要,使用javascript批处理文件。 (最可能需要,因为没有批处理文件命令对鼠标或键盘直接有管辖权。)

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.)

推荐答案

在我的窗口7上称为鼠标键。这允许鼠标由键盘控制,其中我可以很容易地控制使用JScript按键。正在加载官方链接...

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

这篇关于如何自动移动和点击鼠标键使用至少批处理文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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