开发者

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

开发者 https://www.devze.com 2023-01-28 18:12 出处:网络
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开发者_如何

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

精彩评论

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