robotjs from deno
how it works
- uses the https://deno.land/x/node_command module! ```javascript
## requirements
- node
- npm
- node module 'robotjs'
```javascript
usage
import
import {
o_robot_js
} from "./mod.js"
available functions (can change depending on node module version)
http://robotjs.io/docs/syntax
documentation here
// "dragMouse", "updateScreenMetrics",
// "moveMouse", "moveMouseSmooth",
// "getMousePos", "mouseClick",
// "mouseToggle", "scrollMouse",
// "setMouseDelay", "keyTap",
// "keyToggle", "typeString",
// "typeStringDelayed", "setKeyboardDelay",
// "getPixelColor", "getScreenSize",
// "captureScreen", "getColor",
// "getXDisplayName", "setXDisplayName",
// "screen"
call a robotjs function
console.log(o_robot_js);
await o_robot_js.moveMouseSmooth(1200,1200)
console.log(await o_robot_js.getXDisplayName())
console.log(await o_robot_js.typeString('hello lol'))