Skip to content

Instantly share code, notes, and snippets.

@tequreq
Created November 11, 2021 07:18
Show Gist options
  • Save tequreq/a14f11b0a7e2cd3cd939132906482ed1 to your computer and use it in GitHub Desktop.
Save tequreq/a14f11b0a7e2cd3cd939132906482ed1 to your computer and use it in GitHub Desktop.
#!/bin/bash
forever --minUptime 540000 --spinSleepTime 540000 run.js
var robot = require("robotjs");
// Speed up the mouse.
robot.setMouseDelay(2);
var mouse = robot.getMousePos();
robot.moveMouse(mouse.x+1,mouse.y+100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment