Skip to content

Commit de09f2b

Browse files
committed
code
1 parent 0cfa91d commit de09f2b

9 files changed

Lines changed: 2197 additions & 0 deletions

File tree

code/python_ver/LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

code/python_ver/README.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<h1>
2+
<img
3+
src="icon.png"
4+
alt="PyClickerRecorder Icon"
5+
width="50"
6+
height="50"
7+
style="vertical-align: middle; margin-right: 10px;"
8+
/>
9+
PyClicker Python version
10+
</h1>
11+
12+
## Features
13+
14+
This macro recorder includes the following features:
15+
16+
### Recording and Playback
17+
- **Record Actions:** Captures mouse movements, clicks, scrolling, and keyboard presses.
18+
- **Play Actions:** Executes the recorded sequence of actions.
19+
- **Playback Speed:** Adjust the speed at which actions are replayed.
20+
- **Looping:** Configure the macro to repeat a specific number of times or infinitely.
21+
- **Save & Load:** Save your macros to `.json` files to use them later.
22+
23+
### Advanced Features
24+
- **Global Hotkeys:** Start/stop recording with **F6** and playback with **F7** from any application. The hotkeys themselves are not recorded in the macro.
25+
- **Minimize to System Tray:** The application can run in the background. When minimized, it will hide in the system tray to stay out of the way.
26+
- **Task Scheduler:** Automate the execution of your macros with the built-in scheduler in the "Settings" tab.
27+
- **Run at a specific time:** Schedule the macro to run once at a future date and time.
28+
- **Run in a time range:** Have the macro run on a continuous loop between a start and end time.
29+
30+
---
31+
<br>
32+
33+
# PyClickerRecorder (Python Version)
34+
35+
PyClickerRecorder is a lightweight application to automate mouse clicks. It supports Windows and Linux platforms with easy installation and setup.
36+
37+
---
38+
39+
## Download and Installation
40+
41+
The latest installers for **Windows** and **Linux** are available in the [Releases](https://github.com/sPROFFEs/autoclicker/releases) section of this repository.
42+
43+
---
44+
45+
## Installation Instructions
46+
47+
### Windows
48+
49+
1. Download the Windows installer (`PyclickRecorder_Windows_installer.exe`) from the [Releases](https://github.com/sPROFFEs/autoclicker/releases/download/1.0/PyclickRecorder_Windows_installer.exe).
50+
2. Run the installer and follow the on-screen instructions.
51+
3. Make sure to select to set the python path permanently on the installation wizard. (You can check the installation demo video below for reference)
52+
3. After installing python, it should automatically open the app folder.
53+
4. Just launch the file `run.py` by double-clicking it.
54+
5. It should creat all the required files and folders, once all dependencies are installed the app will start but with a terminal window open.
55+
6. You can close the app and launch it again form the desktop shortcut, it will automatically open the app without the terminal window.
56+
57+
![windows demo video](https://github.com/sPROFFEs/autoclicker/blob/with-installer-code/videos/windows_installation.gif)
58+
59+
---
60+
61+
### Linux
62+
63+
1. Download the Linux installer (`PyclickRecorder_Linux_installer.sh`) from the [Releases](https://github.com/sPROFFEs/autoclicker/releases/download/1.0/PyclickRecorder_Linux_installer.sh).
64+
65+
2. Open a terminal and navigate to the directory where the installer was downloaded.
66+
67+
3. Make the installer executable:
68+
69+
```bash
70+
chmod +x PyclickRecorder_Linux_installer.sh
71+
```
72+
73+
4. Run the installer script:
74+
75+
```bash
76+
./PyclickRecorder_Linux_installer.sh
77+
```
78+
79+
5. The installer will:
80+
81+
* Install required dependencies.
82+
* Download and set up the application.
83+
* Create a virtual environment.
84+
* Create a desktop shortcut (`AutoClicker.desktop`).
85+
86+
6. Launch the application from the created Desktop shortcut. If the shortcut does not appear, check the `~/Desktop` directory or your system's default desktop folder.
87+
88+
![Linux demo video](https://github.com/sPROFFEs/autoclicker/blob/with-installer-code/videos/linux_installation.gif)
89+
90+
---
91+
92+
## Notes
93+
94+
* The application requires Python 3.
95+
* On first run, the app may prompt to create a virtual environment and install dependencies.
96+
* Linux installations require `pkexec` for elevated permissions to run properly.
97+
* If you experience issues running the application, ensure all dependencies are installed and your environment variables (`DISPLAY`, `XAUTHORITY`) are correctly set.
98+
* On Linux systems it always requires privileges to run the application. You can use the desktop shortcut to launch the app wit elevated permissions automatically, but you can also run `sudo autoclicker-launcher` to launch the app with elevated permissions from the terminal.
99+
100+
---
101+
102+
## Contributing
103+
104+
Feel free to open issues or submit pull requests on the [GitHub repository](https://github.com/sPROFFEs/autoclicker/issues).
105+
106+
---
107+
108+
## License
109+
110+
This project is licensed under the MIT License.
111+
112+
### Disclaimer:
113+
114+
The app is still in development and may have some bugs.
115+
116+
Do not trust any external source for any information regarding this project or providing installation methods.
117+
118+
If you dont trust the behaviour of the app, feel free to check the code and report any issues. Also you can check the [windows installer](https://github.com/sPROFFEs/autoclicker/blob/with-installer-code/installers/windows_installer.iss) and [linux installer](https://github.com/sPROFFEs/autoclicker/blob/with-installer-code/installers/PyclickeRecorder_Linux_installer.sh) scripts to see how the app is installed.

code/python_ver/icon.ico

62.2 KB
Binary file not shown.

code/python_ver/icon.png

190 KB
Loading

0 commit comments

Comments
 (0)