Forked from paulirish/open-chrome-tabs-in-safari.scpt
Created
August 12, 2018 17:34
-
-
Save davo/215b6d8fc4c6f0dc811da85a8def0bb0 to your computer and use it in GitHub Desktop.
Open Safari tabs in Google Chrome
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" | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To execute simple type the following on your terminal.