Skip to content

Instantly share code, notes, and snippets.

@vibin
Created January 20, 2017 05:51
Show Gist options
  • Save vibin/2ec419730f5b749f566891914caaeb87 to your computer and use it in GitHub Desktop.
Save vibin/2ec419730f5b749f566891914caaeb87 to your computer and use it in GitHub Desktop.
Open Chrome's Current URL in Safari
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