Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/musatahawar/constant-mouse-mover
This is a python script which moves mouse after every 2s. and it is beneficial for those who are working in a company which monitors your mouse movements.
https://github.com/musatahawar/constant-mouse-mover
Last synced: 5 days ago
JSON representation
This is a python script which moves mouse after every 2s. and it is beneficial for those who are working in a company which monitors your mouse movements.
- Host: GitHub
- URL: https://github.com/musatahawar/constant-mouse-mover
- Owner: MusaTahawar
- License: mit
- Created: 2023-11-02T06:58:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T07:02:10.000Z (about 1 year ago)
- Last Synced: 2024-11-09T17:19:03.018Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Mouse Movement Script
This is a Python script that uses the `pyautogui` library to move the mouse cursor to random coordinates within a specified range at regular intervals. It's a simple demonstration of how you can control the mouse cursor programmatically.
## Getting Started
To run this script, you need to have Python and the `pyautogui` library installed on your system.
1. **Clone the repository** to your local machine:
```shell
git clone https://github.com/MusaTahawar/random-mouse-movement.git
cd random-mouse-movement
```2. **Run the script**:
```shell
python random_mouse_movement.py
```The script will continuously move the mouse cursor to random positions within the specified range (600, 700) for the X-coordinate and (200, 600) for the Y-coordinate. It will sleep for 2 seconds between each movement.
## Purpose
This script can be used for various purposes, such as:
- Demonstrating how to control the mouse cursor using Python and the `pyautogui` library.
- Simulating user activity for testing and automation purposes.
- Creating visual effects or artistic displays by moving the cursor randomly.## Customization
You can customize the script by changing the range and sleep duration in the code to fit your specific needs.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- This project uses the `pyautogui` library for controlling the mouse cursor.
Feel free to modify and use this script as needed. If you have any questions or suggestions, please don't hesitate to reach out.