This is a Python script for an auto clicker that simulates mouse clicks at random intervals. The script also includes functionality to start and stop clicking with keyboard controls and stops automatically after 1000 clicks. Additionally, the mouse moves randomly by 1 or 2 pixels once every 750 to 1000 clicks when clicking is active.
- Clicks the left mouse button at random intervals, the default values are between 0.9 and 2.1 seconds.
- Moves the mouse by 1 or 2 pixels in a random direction once every 750 to 1000 clicks when clicking is active.
- Customizable parameters:
- Choose the mouse button (
BUTTON
) and control keys (START_STOP_KEY
,EXIT_KEY
). - Set the maximum number of clicks (
MAX_CLICKS
) before the script stops. - Adjust the range (
MOVE_INTERVAL_MIN
toMOVE_INTERVAL_MAX
) for mouse movement frequency.
- Choose the mouse button (
- Starts and stops clicking with keyboard keys (
START_STOP_KEY
to start/stop). - Exits the program with
EXIT_KEY
.
- Python 3.x
pynput
library
-
Clone the repository:
git clone https://github.com/CliveMlt/Python-Auto-Clicker-Mover.git cd auto-clicker-script
-
Install the required Python packages:
pip install pynput
-
Modify the script parameters if needed:
- Open
auto_clicker_mover.py
in a text editor. - Change the values of the following constants based on your preferences:
BUTTON = Button.left START_STOP_KEY = KeyCode(char=']') EXIT_KEY = KeyCode(char='[') MAX_CLICKS = 5000 MOVE_INTERVAL_MIN = 750 MOVE_INTERVAL_MAX = 1000
- Open
-
Run the script:
python auto_clicker_mover.py
-
Control the clicker with the following keys:
]
to start/stop clicking[
to exit the program
Paused - Sleep Time: 1.71 seconds
Paused - Sleep Time: 2.03 seconds
Click #1 - Delay: 1.73 seconds
Click #2 - Delay: 1.93 seconds
Click #3 - Delay: 1.06 seconds
Click #4 - Delay: 1.30 seconds
Click #5 - Delay: 1.67 seconds
Paused - Sleep Time: 1.84 seconds
This project is licensed under the MIT License. See the LICENSE file for details.