1.0.0 • Published 5 months ago

easy-auto v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

EasyAuto

One yaml, and everything done! Just leave repeated work to the computer.

🚀 Features

  • Easy config, just a few line and then everything done!
  • Image search, powered by opencv
  • Automation, use it to simplify your repeated work.

🦄 Usage

npm

npm install
//create a yaml
npm run start

pnpm

pnpm install
//create a yaml
pnpm run start

Config

Config.yaml contains all the step you want to execute.

A step seem like this:

- type: "click"
  img: "foo.png"

- type: "move"
  pos:
    x: 0.0
    y: 0.0

- type: "click"
  pos:
    x: 200
    y: 200

- type: "key"
  text: "<Keyboard Key>"

- type: "type"
  text: "good"

- type: "wait"
  time: 5

Keyboard Key

KeyDescriptionNotes
backspace
delete
enter
tab
escape
upUp arrow key
downDown arrow key
rightRight arrow key
leftLeft arrow key
home
end
pageup
pagedown
f1
f2
f3
f4
f5
f6
f7
f8
f9
f10
f11
f12
command
alt
control
shift
right_shift
space
printscreenNo Mac support
insertNo Mac support
audio_muteMute the volume
audio_vol_downLower the volume
audio_vol_upIncrease the volume
audio_playPlay
audio_stopStop
audio_pausePause
audio_prevPrevious Track
audio_nextNext Track
audio_rewindLinux only
audio_forwardLinux only
audio_repeatLinux only
audio_randomLinux only
numpad_0No Linux support
numpad_1No Linux support
numpad_2No Linux support
numpad_3No Linux support
numpad_4No Linux support
numpad_5No Linux support
numpad_6No Linux support
numpad_7No Linux support
numpad_8No Linux support
numpad_9No Linux support
lights_mon_upTurn up monitor brightnessNo Windows support
lights_mon_downTurn down monitor brightnessNo Windows support
lights_kbd_toggleToggle keyboard backlight on/offNo Windows support
lights_kbd_upTurn up keyboard backlight brightnessNo Windows support
lights_kbd_downTurn down keyboard backlight brightnessNo Windows support

License

MIT License © 2023-PRESENT Muffeter