【发布时间】:2014-04-05 22:05:29
【问题描述】:
我正在尝试编写一个小程序来将活动的 Finder 选项卡拆分为一个新窗口。我可以使用 Chrome 来做到这一点:
on moveActiveTabToNewWindow()
tell application "Google Chrome"
set theURL to URL of active tab of window 1
close active tab of window 1
make new window
set URL of active tab of window 1 to theURL
end tell
end moveActiveTabToNewWindow
但是,据我所知,Finder 选项卡无法通过 Applescript 访问。这可能吗?我使用的是 OS X Mavericks 10.9.2。
【问题讨论】:
标签: applescript