Skip to content

Instantly share code, notes, and snippets.

@eralpkaraduman
Last active May 18, 2018 13:57
Show Gist options
  • Save eralpkaraduman/4050ad188a043a3d8c31e50742e3b904 to your computer and use it in GitHub Desktop.
Save eralpkaraduman/4050ad188a043a3d8c31e50742e3b904 to your computer and use it in GitHub Desktop.
Applescript for clicking on safari repeatedly with delay
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