AutoTarget — scoped auto-clicking for macOS, one hotkey away.
AutoTarget repeats a mouse click or keyboard key on a timer. You choose where it applies, record what to repeat, and toggle it with a hotkey.
- Target scope — App, Window, or Desktop (system-wide)
- Toggle hotkey — record a key or mouse button; works from anywhere
- Action — record a click (any mouse button) or a keyboard key to repeat
- Interval — set how often the action runs
- Optional limits — cap how many times it runs, pause when the target loses focus, pick a fixed click point
Settings and bindings are saved between launches.
- macOS 14.6 (Sonoma) or later
- Tested on macOS 26.4
- Accessibility permission — required to listen for hotkeys and send input
- Download or clone this repository.
- Open
AutoTarget.appfrom the project root. - If macOS blocks the app, right-click it and choose Open, or allow it in System Settings → Privacy & Security.
- Grant Accessibility when prompted
System Settings → Privacy & Security → Accessibility - Choose a scope and target (if not Desktop).
- Record a toggle hotkey.
- Record the action to repeat (click or key).
- Turn the clicker On from the toolbar, or use your toggle hotkey.
- Open
AutoTarget.xcodeprojin Xcode. - Select the AutoTarget scheme and run (
⌘R).
- The toggle hotkey always works globally.
- With Pause when unfocused enabled, clicks/keys only fire while the selected app or window is focused.
- Desktop scope runs everywhere and ignores focus checks.
Not specified.
