Created
November 18, 2011 06:38
-
-
Save ghiden/1375774 to your computer and use it in GitHub Desktop.
from Safari, open this page in Chrome
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
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