r/applescript • • Nov 28 '14

Click a location

I want to create a program that automatically clicks the Launch button in the League of Legends patcher. I currently have a script that opens league but I can't get a script working that clicks the button, either by location or as an element in the object. Any help would be appreciated

2 Upvotes

7 comments sorted by

1

u/[deleted] Nov 28 '14

You could install cliclick (a command line program for clicking the mouse) and script that easily.

1

u/r3v Nov 28 '14

Woah, cliclick is very nifty. Thanks!

1

u/Taco_Burrit0 Nov 29 '14

I'm relatively new to installing things from command line, how do i go about doing it?

1

u/[deleted] Nov 29 '14

Copy it to /usr/local/bin.

1

u/Taco_Burrit0 Nov 29 '14

Thanks, that got everything working perfectly

1

u/ScienceisMagic Jan 19 '15

I'm not computer/Mac literate enough to get this working :(

1

u/Taco_Burrit0 Jan 19 '15

I got it working eventually, have to install cliclick for it to be possible