Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davo/215b6d8fc4c6f0dc811da85a8def0bb0 to your computer and use it in GitHub Desktop.
Save davo/215b6d8fc4c6f0dc811da85a8def0bb0 to your computer and use it in GitHub Desktop.
Open Safari tabs in Google Chrome
tell application "Safari"
set tab_list to every tab in the front window
repeat with the_tab in tab_list
set the_url to the URL of the_tab
tell application "Google Chrome" to open location the_url
end repeat
end tell
@davo
Copy link
Author

davo commented Aug 12, 2018

To execute simple type the following on your terminal.

osascript open-safari-tabs-in-chrome.scpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment