1.0.6 • Published 5 years ago

robot-cmd v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

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

sendKeys() KeyCode Definition at https://technet.microsoft.com/en-us/library/ff731008.aspx?f=255&MSPPError=-2147217396

robot.gif

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago