-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support coordinates from right and bottom #133
Comments
There is another option: ask the system for the screen size. osascript -e 'tell application "Finder" to get bounds of window of desktop' … will return cliclick -e 200 c:$( osascript -e 'tell application "Finder" to get bounds of window of desktop' | awk '{ print $3 }')0 |
Love it! For anybody else, this line:
returns: ...so the line ends |
Just for the record: the
… which will result in a plain number without comma. Or the AppleScriptish way:
|
It would be great to be able to specify co-ordinates from the right and bottom of the screen as well as the top and left.
This way, I can make sure my script that clicks something in the top right corner works on monitors of all sizes.
Currently my options seem to be
The text was updated successfully, but these errors were encountered: