PulseAugur
实时 00:01:15
English(EN) Count the number of Safari tabs

如何使用 AppleScript 计算打开的 Safari 浏览器标签页数量

Simon Willison 分享了一个关于如何使用 AppleScript 计算打开的 Safari 浏览器标签页数量的简短技巧。可以使用命令 `osascript -e 'tell application "Safari" to count tabs of every window'` 来实现。 AI

排序理由 该条目是分享技术技巧的个人博客文章,并非重大行业事件。

在 Simon Willison 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

如何使用 AppleScript 计算打开的 Safari 浏览器标签页数量

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Commentary
该条目是分享技术技巧的个人博客文章,并非重大行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
Low
Off-topic or adjacent — cluster remains reachable but doesn't surface in AI-industry rankings.
Story freshness
84 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

完整方法见我们的编辑标准

报道来源 [1]

  1. Simon Willison TIER_1 English(EN) ·

    计算Safari标签页的数量

    <p>Tiniest TIL, using AppleScript to count the number of open browser tabs in Safari:</p> <pre><code>osascript -e 'tell application "Safari" to count tabs of every window' </code></pre> <p><img alt="I ran it in a terminal window and got back 370." src="https://static.simonwilliso…