Skip to content

Instantly share code, notes, and snippets.

@loisaidasam loisaidasam/README.md
Last active Jul 23, 2019

Embed
What would you like to do?
Rotate Tabs
# via http://apple.stackexchange.com/questions/39430/automatically-scan-cycle-through-safari-tabs
# plus http://superuser.com/questions/263198/switch-between-google-chrome-tabs-using-applescript
tell application "Google Chrome"
repeat
repeat with i from (count of tabs of first window) to 1 by -1
set active tab index of first window to i
delay 30
end repeat
end repeat
end tell
# via http://apple.stackexchange.com/questions/39430/automatically-scan-cycle-through-safari-tabs
tell application "Safari"
repeat
repeat with i from (count of tabs of window 1) to 1 by -1
set current tab of window 1 to tab i of window 1
delay 30
end repeat
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.