Last active
May 13, 2019 19:41
-
-
Save Dudemullet/e79551cfbeecc43a0fc51123fee895c4 to your computer and use it in GitHub Desktop.
Opens the active tab in the front most Google Chrome window in Safari.
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 "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