开发者

How to move the mouse in Windows Scripting VBScript (cscript)

开发者 https://www.devze.com 2023-01-07 16:14 出处:网络
In the Windows scripting API is there any way to move the mouse thr开发者_开发知识库ough similar to the wshell.SendKey() function? The short answer is \"No\"

In the Windows scripting API is there any way to move the mouse thr开发者_开发知识库ough similar to the wshell.SendKey() function?


The short answer is "No"

The long answer is, if you really know what you're doing you can make calls to the underlying Win32 API to do this for you.

However I wouldn't like to have to do this through PInvoke in .net, or directly from C++.
Considering you can't call out to the Win32 API directly from VBScript, the long answer is also "No".

Sorry

0

精彩评论

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

关注公众号