Skip to content

yuanliwei/robot-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}')

robot.gif

About

Automatically operate the keyboard and mouse, do not need gyp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published