From 818ed17afe85ebc858b0369c6e534aa333cdbc6b Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Thu, 22 Sep 2022 11:52:31 +0200 Subject: [PATCH] Added script to randomly move the input pointer --- scripts/randomly-move-ui-pointer.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/randomly-move-ui-pointer.py diff --git a/scripts/randomly-move-ui-pointer.py b/scripts/randomly-move-ui-pointer.py new file mode 100755 index 0000000..2bd7bda --- /dev/null +++ b/scripts/randomly-move-ui-pointer.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import pyautogui +import random +import time + +try: + while True: + for i in range(1, random.randint(1, 9), 1): + pyautogui.moveRel(random.randint(-100, 100), random.randint(-100, 100)) + time.sleep(random.random()) + time.sleep(random.randint(1, 4)) +except KeyboardInterrupt: pass