This Python script automates mouse clicks at specified coordinates on the screen. It's particularly useful for repetitive tasks or automation purposes.
- Customizable Coordinates: You can specify the exact coordinates where you want the clicks to occur by modifying the
x_coord
andy_coord
variables in the script. - Error Handling: The script includes error handling to deal with scenarios where the mouse cursor moves to the upper-left corner of the screen, triggering a
FailSafeException
. - Killswitch: You can terminate the script at any time by pressing the 'q' key on your keyboard.
- Python 3.x
- pyautogui
- keyboard
- win32gui
- win32con
- Install Python 3.x from python.org.
- Install the required libraries using pip: pip install pyautogui keyboard pywin32
- Clone the repository:git clone https://github.com/2cz5/AutoClicker.git
- Navigate to the directory
- Edit the
x_coord
andy_coord
variables in theautoclicker.py
script to set the desired click coordinates. - Run the script:python autoclicker.py (Or double click)
Contributions are welcome! Feel free to open an issue or submit a pull request.
Made by 2cz5. For any questions or suggestions, you can reach out to me on Discord:2cz5