Opens the active tab in the front most Google Chrome window in Safari.
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
tell application "Google Chrome" | |
set current_tab to active tab in the front window | |
set the_url to the URL of current_tab | |
tell application "Safari" to open location the_url | |
tell current_tab to close | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you would like for this script to not close the tab after opening it. Delete or comment Line 5
tell current_tab to close