Re: Using cliclick with apple script
Re: Using cliclick with apple script
- Subject: Re: Using cliclick with apple script
- From: "-dan d." <email@hidden>
- Date: Sun, 24 Jul 2016 21:00:48 -0400 (EDT)
Hello,
Attached "cc.txt" is the single text file in the pdf. Is that the info
you wanted me to see?
Thanks.
On Sun, 24 Jul 2016, rpoland wrote:
On Jul 24, 2016, at 6:34:PM, -dan d. <email@hidden> wrote:
On Sun, 24 Jul 2016, rpoland wrote:
On Jul 24, 2016, at 5:42:PM, -dan d. <email@hidden> wrote:
Thanks for the doc/pages file.
On opening it I see it contains graphic files. I'm blind so they are not useable. Is there a text source for the material?
Thanks.
Did the PDF work for you.
Yes, did it contain the same info?
Thanks.>
Yes, but it's missing the web site link.
https://github.com/BlueM/cliclick/blob/master/cliclick.m <https://github.com/BlueM/cliclick/blob/master/cliclick.m>
Robert Poland
Fort Collins, CO
XB
Robert Poland
Fort Collins, CO
XB
CLICLICK 3.0Carsten BluÌm Mac DevelopmentWHAT IS CLICLICK?Cliclick is a Terminal/shell application that emulates keyboard and/or mouse events. This can
include moving the mouse, clicking, double-clicking, command- clicking, dragging, pressing
Escape and so on. Hence, it is a tool that can help in automating/scripting things that
otherwise are more or less unscriptable.HOW TO USEInvoke cliclick with switch -h (i.e.: cliclick -h) to see usage information and examples.But to just give you an idea of how it works, here is a simple demonstration: cliclick c:28,11
w:500 m:+0,+24 w:1000 kd:alt w:1000 c:. ku:alt This code will execute the following commands:⢠c:28,11Clickatposition28/11(opentheApplemenu)⢠w:500Wait500milliseconds⢠m:+0,+24Movethemouse24pixelsdown(resultingin28/35,whichisthefirst menu item, i.e.: âAbout this Macâ)⢠w:1000Wait1000milliseconds(soyouhavetimetonoticethattheitemishilited)⢠kd:altPresstheâaltâmodifierkey⢠w:1000Wait1000milliseconds(togiveyouthetimetonoticethatâAboutthis Macâ changed to âOpen System Profilerâ)⢠c:.Clickatthecurrentposition(â.âisthecurrentmouseposition,justasinTerminal, â.â is the current directory. You could also write c:+0,+0)⢠ku:altFinally:releasetheâaltâkeyWhen running this example, you will have to prefix it with the full path (should be
/Volumes/cliclick), if you have not installed cliclick yet.INSTALLATIONPut cliclick anywhere you like. In my eyes the best (i.e.: most common) place would be
/usr/local/bin. Additionally, you will want to make sure that this path is in your $PATH
environment variable, so that you can use cliclick without specifying the full path. (If you
have no idea what $PATH is, you should probably familiarize yourself with shell basics. A web
search for something like âbash profile pathâ should be sufficient to find plenty of
resources.)Page 1 of 2WHAT IS NEW IN VERSION 3.0?⢠Implemented the most requested feature: typing (almost) arbitrary text using cliclick.⢠Example: cliclick t:'Wow, it works!'cliclick 3.0 was released on 09/15/2014.Release notes for previous versions can be found on the websitePRICECliclick is free. However, if you appreciate it and would like to send a âThank youâ,
there are a number of ways to do that.Please take a look at my website for more information or simply invoke cliclick -d at the
shell.CONTACT / FEEDBACKCarsten BluÌmE-Mail: email@hiddeniclick Homepagecliclick project at GitHubDISCLAIMERThis application is provided as-is. Support is not included. Use this software at your own
risk. If for some obscure reason any damage or data loss may arise from using it (which in my
opinion is nearly impossible), it is nobody elseâs problem than yours.Page 2 of 2
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden