Skip to content

wshxbqq/node-win-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-win-mouse 模拟鼠标动作 类似鼠标精灵

npm install -g node-win-mouse

node-win-mouse 为操作系统级别模拟. 并非硬件驱动级别模拟

需要 64bit Winodws Nodejs 6.0.0 +

方法 用途
moveTo 控制鼠标移动
leftDown 左键按下
leftUp 左键弹起
rightDown 右键按下
rightUp 右键弹起
const WinMouse = require('node-win-mouse');
WinMouse.moveTo(200,300);
WinMouse.leftDown();
WinMouse.leftUp();
WinMouse.rightDown();
WinMouse.rightUp();
console.log(WinMouse); 

About

nodejs 模拟鼠标动作(按键精灵)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published