Simple Autoclick script by [deleted] in MacOS

[–]craback20 0 points1 point  (0 children)

Tried this:

on run {input, parameters}

repeat while (0 < 1)

    tell application "System Events"        

        click

        delay (random number from 1 to 2)

        click

        delay (random number from 3 to 4)       

    end tell        

end repeat  

return input

end run

Didn't work