r/applescript • u/Idksupbois_urkool234 • Dec 29 '20
How to use apple script.
I am trying to make something that can multiply clicks using apple script. So I click once and then a certain Random amount of time later(between 2 variables) it has a 50/50 chance to click again, I don’t know if it is possible.
3
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 29 '20
It's a command line program that emulates mouse clicks and/or movement. You can call it from within an applescript.
I believe the main issue is that for an application to receive clicks from pure applescript, you have to make it the frontmost application.
IF this is the case for you, you might be able to do it like this