开发者

Batch file to set the position of the curser on windows 7 OS. How?

is it possible to make a batch file that sets the position of the mouse/curser to an (x,y) coordinate on the screen? and if so, then is it possible to click on something that is in that pos开发者_如何学Pythonition? Any ideas would be helpful! Thanks!


No. You would have to have a seperate executable to do this for you.

It may be possible in VBScript.

P.S. If you're interesting in automating tasks I'd download something like a mouse recorder for something simple like that. If you're automating more complicated tasks, give a shot at Autoit.


No and Yes.

You can't place the cursor at Position X,Y with pure batch, but you can replace the cursor to the home position in one line, and then you can rewrite the content.

For detecting mouse clicks with batch you need an external tool.

Try a look at Lingubender Tan's Batch tools

EDIT: You can place the cursor with pure batch to the home postion, but I need the help of the user, till now.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜