Created
January 20, 2017 05:51
-
-
Save vibin/2ec419730f5b749f566891914caaeb87 to your computer and use it in GitHub Desktop.
Open Chrome's Current URL 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 visibleUrl to get URL of active tab of window 1 | |
end tell | |
tell application "Safari" | |
open location visibleUrl | |
activate | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment