Created
March 8, 2017 08:04
-
-
Save wleii/c8cf3a7ad0800bc19fd12de9fdda118e to your computer and use it in GitHub Desktop.
repeat refresh safari use applescript
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
#!/usr/bin/osascript | |
tell application "System Events" | |
repeat | |
if exists process "Safari" then | |
tell application "Safari" | |
activate | |
end tell | |
tell process "Safari" | |
keystroke "r" using {command down} | |
end tell | |
delay 60 | |
else | |
exit repeat | |
end if | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment