A simple Python script that periodically moves the mouse to random screen locations and simulates a Shift key press. Useful for preventing system sleep or appearing "active" on your machine.
- Random mouse movement within screen bounds
- Periodic
Shiftkey presses to simulate activity - Built-in fail-safe to stop execution by moving the mouse to a screen corner
- Minimal dependencies and easy to run
- Keep your computer from locking or going to sleep
- Avoid status changes in communication apps (e.g., Teams, Slack)
- Simulate user activity for testing
- Python 3.6+
pyautoguilibrary
Install dependencies with:
pip install pyautogui