Last active
May 18, 2018 13:57
-
-
Save eralpkaraduman/4050ad188a043a3d8c31e50742e3b904 to your computer and use it in GitHub Desktop.
Applescript for clicking on safari repeatedly with delay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
repeat 300 times | |
tell application "Safari" to activate | |
tell application "System Events" | |
tell process "Safari" | |
click at {300, 100} -- {from left, from top} | |
end tell | |
end tell | |
delay 25 | |
end repeat | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment