https://github.com/half0wl/maca
Autoclicker for macOS, written in Python.
https://github.com/half0wl/maca
Last synced: over 1 year ago
JSON representation
Autoclicker for macOS, written in Python.
- Host: GitHub
- URL: https://github.com/half0wl/maca
- Owner: half0wl
- Created: 2017-03-21T17:34:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T09:49:21.000Z (over 9 years ago)
- Last Synced: 2025-02-07T18:49:29.880Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maca
Autoclicker for macOS, written in Python.
(Work in progress)
Retrieving current cursor position and simulating a left click is working.
```python
>>> from maca import cur_pos, click
>>> cur_pos()
>>> click()
Clicked x=1140.57421875 y=401.890625
```
## Todo
* Auto-clicking upon trigger (with `NSTimer` maybe?)
* Hotkey trigger (with `NSEvent` & `NSKeyDownMask`)
* GUI? With either PyQt or Tkinter. Or CLI? Or menubar app (similar to [simon](https://github.com/half0wl/simon/))?