Count the number of Safari tabs
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
Very little: it is a one-line AppleScript snippet, but any Mac user can copy-paste it today to count Safari tabs across every window.
Simon Willison shared a tiny tip on his blog: a single AppleScript command that counts the browser tabs open in Safari, the web browser on Macs. The command, run from the terminal, asks Safari to count the tabs in every open window. In his case it returned 370 open tabs. It affects Mac users only, and the article is just a couple of lines long with no further details.
This is a trivial productiveness note, not a business story: Willison published a one-line AppleScript command for counting Safari tabs, which returned 370 for him. There is no cost, product, competitor or risk involved, and no decision-maker would act on it. Apple, Safari and Simon Willison are the only named entities, and the post includes no dates, pricing or follow-up.
The tip is a single osascript invocation: 'tell application "Safari" to count tabs of every window', which returns a list of tab counts per window via AppleScript. Willison's run returned 370 tabs. No error handling, multi-browser support or Chrome equivalent is discussed, and no screenshots of output beyond a terminal image are described.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
A self-hosted file manager fork with OIDC, LDAP, and real-time search
FileBrowser Quantum lets teams manage multiple storage sources with enterprise authentication and real-time search without complex setup, saving admin time and reducing security risk.
A Go implementation of MCP for connecting LLM apps to tools and data
Go developers can expose LLM tools without writing MCP plumbing, saving time on integration.
An open-source Canva alternative you can self-host, with video export
Self-hosted design tools let teams avoid subscription fees and keep data on their own servers, while adding video export unlocks new content formats for social media creators.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.