和
tell application "Safari"
set winlist to every window
repeat with win in winlist
set tablist to every tab in win
repeat with t in tablist
name of t as string
end repeat
end repeat
end tell
我可以得到 safari 标签的名称
如何关闭具有特定名称的选项卡?