robot-cmd
v1.0.6
Published
Automatically operate the keyboard and mouse, do not need gyp
Downloads
11
Maintainers
Readme
robot-cmd
Automatically operate the keyboard and mouse, do not need gyp.
Example
const robot = require('robot-cmd')
robot.moveTo(100,100)
robot.leftClick()
robot.leftDown()
robot.leftUp()
robot.doubleClick()
robot.rightClick()
robot.rightDown()
robot.rightUp()
robot.wheelDown()
robot.wheelUp()
robot.screenShot('./screenshot.png')
robot.sendKeys('S D F G H {ENTER}')