https://github.com/flozone/script_mouse_bot
A simple script that simulate mouse and keyboard activity
https://github.com/flozone/script_mouse_bot
python script
Last synced: about 1 year ago
JSON representation
A simple script that simulate mouse and keyboard activity
- Host: GitHub
- URL: https://github.com/flozone/script_mouse_bot
- Owner: FloZone
- Created: 2024-10-15T08:30:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T10:49:39.000Z (over 1 year ago)
- Last Synced: 2025-03-31T02:35:25.513Z (about 1 year ago)
- Topics: python, script
- Language: Python
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MouseBot

A simple script that simulate mouse and keyboard activity to prevent your computer from sleeping and softwares to appear away.
Click the icon in the tray bar to start the script, press `esc` key to pause.
## Installing dependencies
All mandatory libraries and dependancies are listed in `requirements.txt`.
```bash
pip install -r ./requirements.txt
```
## Generating a new binary
Do not forget to change the script version in `setup.py` file: `SCRIPT_VERSION=X.X`.
Run the following command to build the .exe binary:
```bash
python setup.py build
```
The generated binary is located to `./dist/mouse_bot.exe`
## Other commands
* `python setup.py clean` : for cleaning temp and generated files
* `python setup.py lint` : for linting the script file
* `python setup.py fmt` : for formatting the script file