safari穿越到chrome
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了safari穿越到chrome相关的知识,希望对你有一定的参考价值。
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
以上是关于safari穿越到chrome的主要内容,如果未能解决你的问题,请参考以下文章