Skip to content

Commit 1a87048

Browse files
committed
README cleanup and documentation on headless operation
1 parent 8264eba commit 1a87048

File tree

1 file changed

+84
-60
lines changed

1 file changed

+84
-60
lines changed

README.md

Lines changed: 84 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,127 @@
11
# EC Autoclicker
22

3-
The EC (Expertcoderz) Autoclicker is an open source, advanced autoclicking utility for Windows, written fully in
4-
[AutoHotkey](https://www.autohotkey.com/) v2. It aims to provide a large variety of configurability and functionality
3+
The EC (Expertcoderz) Autoclicker is an open-source, advanced autoclicking
4+
tility for Windows, written fully in [AutoHotkey](https://www.autohotkey.com/)
5+
v2. It aims to provide a large variety of configurability and functionality
56
never before seen in other general-purpose autoclicking tools.
67

78
![image](https://user-images.githubusercontent.com/81153405/197357672-2907060d-9ce3-4f93-8696-6078b48f4720.png)
89

9-
Executables provided in Releases are compiled using [Ahk2Exe](https://github.com/AutoHotkey/Ahk2Exe),
10-
with [UPX](https://upx.github.io/) for compression.
10+
Executables provided in Releases are compiled using [Ahk2Exe](https://github.com/AutoHotkey/Ahk2Exe)
11+
, with [UPX](https://upx.github.io/) for compression.
1112

1213
## Features
1314

14-
* Configurable click intervals (fixed or randomized)
15-
* The ability to choose from whether to click the left/right/middle mouse button
16-
* The ability to choose from performing single/double/triple clicks
17-
* Definable pre-start delay
18-
* Automatic stop after a specific number of clicks, when a specific duration has passed and/or at a specific time
19-
* The ability to position the mouse cursor at a specific location every click or randomly within a specific boundary
20-
* Configurable start/stop hotkeys (multiple supported)
21-
* Profiles – saved and named sets of autoclicking configurations that can be created/renamed/deleted/exported and imported
22-
* Persistent settings regarding the user interface
23-
* Automatic update checking (optional)
15+
- Fixed or randomized click intervals
16+
- Left/right/middle click
17+
- Single/double/triple click
18+
- Pre-start delay
19+
- Automatic stop
20+
- after a specific number of clicks;
21+
- when a specific duration has passed; and/or
22+
- at a specific time
23+
- Position the mouse pointer every click
24+
- at a specific point
25+
- randomly within a specific box boundary
26+
- Hotkeys (configurable; multiple hotkeys per action are supported)
27+
- start
28+
- stop
29+
- toggle
30+
- close
31+
- Profiles – saved and named sets of autoclicking configurations (exportable)
32+
- [Command-line parameter](#headless-operation) to run headlessly based on a
33+
given profile
34+
- Persistent settings to customize the user interface
35+
- Automatic update checking (optional)
2436

2537
## Upcoming Features
2638

27-
* Mouse button hold-down
28-
* "Simplified View" mode — only a list of profiles and the Start/Stop button are displayed
29-
* The ability to select between different units (ms/s/min/h) for inputting duration values
39+
- Mouse button hold-down
40+
- "Simplified View" mode — only a list of profiles and the Start/Stop button
41+
are displayed
42+
- The ability to select between different units (ms/s/min/h) for inputting
43+
duration values
3044

3145
## Getting Started
3246

3347
### Method 1: Compiled executable from Releases
3448

35-
(This is the most stable method and is recommended if you do not intend to modify EC Autoclicker's source.)
49+
(This is most stable and recommended if you do not intend to modify EC
50+
Autoclicker's source code.)
3651

37-
**Prerequisites:** None. EC Autoclicker is a portable standalone application—no installation is needed.
52+
**Prerequisites:** None. EC Autoclicker is a portable standalone application;
53+
no installation is needed.
3854

3955
Download the executable file from the [latest release](https://github.com/Expertcoderz/EC-Autoclicker/releases/latest)
4056
and run it to use EC Autoclicker.
4157

42-
*You may receive antivirus warnings when downloading/opening the EC Autoclicker executable because Expertcoderz
43-
doesn't have the resources to get them [signed](https://en.wikipedia.org/wiki/Code_signing).*
58+
_The executables are not signed. You may receive security warnings when
59+
downloading or opening them._
4460

4561
### Method 2: Uncompiled AHK script (source)
4662

47-
**Prerequisites:** [AutoHotkey v2](https://www.autohotkey.com/download/ahk-v2.exe) must be installed.
63+
**Prerequisites:** [AutoHotkey v2](https://www.autohotkey.com/download/ahk-v2.exe)
64+
must be installed.
4865

49-
**Note:** In its uncompiled script form, EC Autoclicker is unable to check for newer versions online
50-
(neither automatically nor manually).
66+
**Note:** In its uncompiled script form, EC Autoclicker is unable to check for
67+
newer versions online (neither automatically nor manually).
5168

52-
Download `EC-Autoclicker.ahk` from the [`main`](https://github.com/Expertcoderz/EC-Autoclicker/tree/main) branch
53-
and run it with AHK v2 to use EC Autoclicker.
69+
Download `EC-Autoclicker.ahk` from the [`main`](https://github.com/Expertcoderz/EC-Autoclicker/tree/main)
70+
branch and run it with AHK v2 to use EC Autoclicker.
5471

55-
You will receive the latest (and possibly experimental) version of EC Autoclicker, regardless of whether or not it
56-
is the same as the one published in Releases.
72+
You will receive the latest (and possibly experimental) version of EC
73+
Autoclicker, regardless of whether it is the same as the released version.
5774

58-
## Notes
75+
## Headless Operation
5976

60-
* EC Autoclicker has been tested to work on Windows 7 and higher, where AutoHotkey v2 is supported. It is incompatible with Windows XP.
61-
* In order for automated clicks to have effect on windows of elevated processes, EC Autoclicker must be
62-
run with administrative privileges.
63-
* The X and Y mouse position coordinates displayed at the bottom right corner depend on the screen/window
64-
relativity configuration under the *Positioning* tab.
65-
* Persistent settings/options are stored in the Windows Registry under `HKEY_CURRENT_USER\Software\Expertcoderz\Autoclicker`.
66-
Profiles are stored as keys under the `Autoclicker\Profiles` subkey.
67-
* If the option for automatic updates is enabled, EC Autoclicker will check once a week for any updates, and download them only after
68-
a confirmation prompt on launch.
77+
To run EC Autoclicker headlessly (without a GUI), first create a profile with
78+
the desired configuration. Then, the `/profile` command-line switch followed by
79+
the name of the profile can be passed to EC Autoclicker as follows:
6980

70-
## Contributing
81+
```cmd
82+
.\EC-Autoclicker.exe /profile MyProfile
83+
```
7184

72-
Contributions to EC Autoclicker in the form of bug fixes, enhancements, and even feature additions are welcome.
85+
Note that, in headless mode, any hotkeys assigned the _Stop Autoclicker_ action
86+
will function equivalently to _Close Autoclicker_ when triggered.
7387

74-
Before considering to open a pull request (PR), make sure that ***if it is meant to fix an issue,
75-
that issue must already be [submitted](https://github.com/Expertcoderz/EC-Autoclicker/issues/new/choose)*** such
76-
that it can be linked in your PR description.
88+
## Notes
7789

78-
Similarly, if it is meant to introduce an enhancement or new feature, it is strongly encouraged that you [open a
79-
feature request](https://github.com/Expertcoderz/EC-Autoclicker/issues/new/choose) first before actually working
80-
on the PR. This gives an opportunity for your idea to be maintainer-evaluated and to receive feedback that potentially
81-
saves time lest changes need to be made.
90+
- EC Autoclicker has been tested to work on Windows 7 and higher, where
91+
AutoHotkey v2 is supported. It is incompatible with Windows XP.
92+
- In order for automated clicks to have effect on windows of elevated processes,
93+
EC Autoclicker must be run with administrative privileges.
94+
- The X and Y mouse position coordinates displayed at the bottom right corner
95+
depend on the screen/window relativity configuration under the _Positioning_
96+
tab.
97+
- Persistent settings/options are stored in the Windows Registry under
98+
`HKEY_CURRENT_USER\Software\Expertcoderz\Autoclicker`. Profiles are stored as
99+
keys under the `Autoclicker\Profiles` subkey.
100+
- If the option for automatic updates is enabled, EC Autoclicker will check
101+
once a week for any updates, and download them only after showing a
102+
confirmation prompt on launch.
103+
104+
## Contributing
82105

83-
Before submitting a PR, ensure that you include the following in its description:
106+
Contributions to EC Autoclicker in the form of bug fixes, enhancements, and even
107+
feature additions are welcome.
84108

85-
1. A concise overview of the change(s) being made—whether it is a fix for a specific issue, an enhancement to the user
86-
interface or performance, or an introduction of a new feature.
87-
2. An elaboration on the purpose and benefit(s) of the changes presented by the PR. If it is a fix for a UI bug,
88-
for example, give a "before and after" comparison of the relevant interface's behavior to show how the bug
89-
no longer appears under the same conditions that it did occur in.
90-
3. A description of any tests that were used to make sure that the changes achieve what they are meant to, and
91-
that no unintended behavior or broken functionality is introduced.
109+
If your intended pull request is meant to introduce an enhancement or new
110+
feature, it is strongly encouraged that you [open a feature request](https://github.com/Expertcoderz/EC-Autoclicker/issues/new/choose)
111+
first before actually working on the PR. This gives an opportunity for your
112+
idea to be maintainer-evaluated and to receive potentially time-saving feedback,
113+
lest changes need to be made.
92114

93115
Please **do not** submit a PR that:
94116

95-
* Comprises purely of code formatting changes; code refactoring, however, may be acceptable.
96-
* Hasn't been tested successfully.
97-
* Fixes multiple issues that aren't interrelated or owing to the same root cause; please instead submit multiple PRs per issue.
98-
* Is missing any or all of the information in its PR description mentioned in the previous list.
117+
- Comprises purely of code formatting changes; code refactoring, however, may
118+
be acceptable.
119+
- Hasn't been tested successfully.
120+
- Fixes multiple issues that aren't interrelated or due to the same root
121+
cause; please instead submit multiple PRs per issue.
99122

100123
## License
101124

102125
EC Autoclicker is licensed under the open source GNU GPL v3.0.
103-
Any modified copies of EC Autoclicker must remain open source and under the same license.
126+
Any modified copies of EC Autoclicker must remain open source and under the
127+
same license.

0 commit comments

Comments
 (0)