Skip to content

Instantly share code, notes, and snippets.

@ghiden
Created November 18, 2011 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghiden/1375774 to your computer and use it in GitHub Desktop.
Save ghiden/1375774 to your computer and use it in GitHub Desktop.
from Safari, open this page in Chrome
property theURL : ""
tell application "Safari"
set theURL to URL of current tab of window 1
end tell
tell application "Google Chrome"
if not (window 1 exists) then
make new window
end if
set myTab to make new tab at end of tabs of window 1
set URL of myTab to theURL
activate
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment