使用AppleScript关闭FireFox中的特定选项卡

时间:2012-09-10 19:33:42

标签: macos firefox applescript

我需要在FireFox中编写具有特定标题的标签的结尾脚本。 FireFox是否与下面的AppleScript示例等效?

在Safari中关闭标签:

tell application "Safari"
    delete (every tab of every window where its name contains "[done]")
end tell

关闭Chrome中的标签:

tell application "Google Chrome"
    delete (every tab of every window where its title contains "[done]")
end tell

0 个答案:

没有答案