Full writeup here: http://blog.samsandberg.com/2014/09/18/auto-rotate-tabs-using-applescript/
Last active
October 11, 2021 10:45
-
-
Save loisaidasam/00b8bf0ec540718cf237 to your computer and use it in GitHub Desktop.
Rotate Tabs
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
# 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 |
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
# 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