标签:
tell application "Safari"
set theURL to URL of front document
set the clipboard to theURL & return
end tell
property theURL : ""
tell application "Safari"
set theURL to URL of current tab of window 1
end tell
tell application "Google Chrome"
if (count of (every window where visible is true)) is greater than 0 then
tell front window
make new tab
end tell
else
make new window
end if
set URL of active tab of window 1 to theURL
activate
end tell
标签:
原文地址:http://www.cnblogs.com/imsb/p/5229572.html