Last active
January 19, 2022 15:08
-
-
Save tjokimie/4b4fcc7c44d47981a55f18fc81dbed5f to your computer and use it in GitHub Desktop.
Open dashboard on Safari and refresh
This file contains hidden or 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
tell application "Safari" | |
activate | |
tell application "System Events" | |
keystroke "f" using {control down, command down} | |
end tell | |
repeat | |
try | |
delay 60 -- 60 seconds | |
set URL of document of window 1 to URL of document of window 1 | |
on error | |
-- do nothing | |
end try | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment