An open API service indexing awesome lists of open source software.

https://github.com/zy445566/robot-action

Node.js Desktop Automation Flows Recorder & Runner.
https://github.com/zy445566/robot-action

action automation desktop flow flows recorder robot runner

Last synced: 5 months ago
JSON representation

Node.js Desktop Automation Flows Recorder & Runner.

Awesome Lists containing this project

README

          

# robot-action

Node.js Desktop Automation Flows Runner.

Power by [robotjs](https://github.com/octalmage/robotjs),[uiohook-napi](https://github.com/SnosMe/uiohook-napi).

# install

```sh
npm i robot-action -g
```

about gyp install,you may see [this](https://github.com/nodejs/node-gyp?tab=readme-ov-file#installation)

# exmaple

Record action flows (default output:./action-flows.json)

```sh
robot-action record
```

action-flows.json like:

```json
{
"action": [
{
"command": "moveMouse",
"args": [254, 33]
},
{
"command": "mouseClick",
"args": ["right"]
},
{
"command": "typeString",
"args": ["hello world\n"]
}
]
}
```

Run action flows (default iutput:./action-flows.json)

```sh
robot-action run
```