Skip to content

Instantly share code, notes, and snippets.

@lsaffie
Created June 4, 2019 19:53
Show Gist options
  • Save lsaffie/bebd920d4ed632a3af643db5d21c4141 to your computer and use it in GitHub Desktop.
Save lsaffie/bebd920d4ed632a3af643db5d21c4141 to your computer and use it in GitHub Desktop.
Cycle through All Chrome windows and activate the first tab
tell application "/Applications/Google Chrome.app"
repeat with w in windows
set active tab index of w to 1
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment