Mouse movement simulator
Mouse Mover is a Python application that can be used to simulate cursor movement. This project is heavily inspired by the infamous Mouse Jiggler application. One of the main purposes of using this application is to prevent screen saver or auto-lock in the case where you can't disable them.
Download the executable for Windows from Sourceforge or compile the program yourself by following the guide below.
To install the dependencies, navigate to the project directory and execute this command:
pip install -r requirements.txt
To use Mouse Mover, navigate to the mousemover
directory within the project directory and execute this command:
python mousemover.py
Settings | Description |
---|---|
Enable Timer | Enable and configure the timer this application will run. Disabling this will make the application runs indefinitely. |
Random Movement | Randomize the movement of the mouse so that it doesn't leave any pattern. |
Random Delay Interval | Randomize the interval between the movement. |
Close Button Minimize to Tray | When enabled, pressing the close button will minimize the application to system tray instead of closing it |
- Download and install Python for Windows (tested using Python 3.7.7)
- Using your favourite Git client, clone the repository to your development machine, eg. to
c:\projects\mousemover
- Open
cmd
terminal to your project directory, eg.c:\projects\mousemover
- Create virtual environment with the command:
pip -m venv venv
- Activate virtual environment with the command:
venv\Scripts\activate.bat
- Install dependencies with the command:
pip install -r requirements.txt
- Test that you can run
mousemover
with the command:cd mousemover python mousemover.py
PyInstaller should be installed in your virtual environment folder when you execute the dependencies installation above.
Execute the following command in the mousemover
folder to compile to a standalone Windows executable
pyinstaller --clean --onefile --add-data "config.yml;." --add-data ".\resource;resource" --icon .\resource\icon.ico --windowed mousemover.py
The executable will be available in the dist
folder
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License