Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Attribution | ||
|
||
This code is based on an anonymous contribution at http://hints.macworld.com/article.php?story=2008051406323031. | ||
|
||
It was updated by Steven Merrill to compile without deprecation warnings on Mac OS X 10.6. | ||
|
||
# About | ||
|
||
This program is a slightly updated version of the code at http://hints.macworld.com/article.php?story=2008051406323031. | ||
|
||
It will build a "click" binary that can be used inside of AppleScripts (and the like) to click the mouse under Mac OS X. | ||
|
||
# Building the code | ||
|
||
I plan to make a Makefile, but for now, ```gcc -o click click.m -framework ApplicationServices -framework Foundation```. | ||
|
||
# Usage | ||
|
||
```click -x [x coordinate] -y [y coordinate]``` | ||
|
||
If no value is specified, 0 will be used. | ||
|