Idle Assistant is a lightweight application designed to automate simple user interactions on your computer, including random mouse movements, keystrokes, and automatic window switching. It's particularly useful for preventing inactivity timeouts during long periods of non-use.
- Random Mouse Movement: Moves the mouse cursor randomly across the screen to simulate user activity.
- Auto Alt-Tab: Automatically switches between open windows at random intervals.
- Random Keystrokes: Sends random keystrokes to keep applications active.
- System Tray Icon: Runs silently in the system tray with an easy way to exit the application.
- Python 3.x installed on your machine.
pip
(Python package installer) for managing Python packages.
For convenience, pre-built executables for both Windows and macOS are available in the Releases section of the repository. You can download the appropriate executable for your operating system and skip the installation steps.
- Clone the Repository:
git clone https://github.com/kevinjanbarluado2/idle-assistant.git cd idle-assistant
- Install Required Packages:
pip install pyautogui keyboard pystray pillow
- Run the script:
python idleassistant.py
- Exit the Application:
Click the ESC key or right-click on the system tray icon and select Exit.
Once the application is running, it will start performing random mouse movements, Alt-Tabbing between open windows, and sending random keystrokes according to the predefined intervals.
Contributions are welcome! If you'd like to contribute to IdleAssistant, please fork the repository and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.