Count the number of Safari tabs
Tip for counting open Safari tabs using AppleScript.
View original on simonwillison.netOverview
AppleScript tip for counting open Safari tabs.
TL;DR
- Use AppleScript to count open Safari tabs
- Run command in terminal: osascript -e 'tell application "Safari" to count tabs of every window'
- Tags: safari, til, applescript
Keywords
Narrative Frame
The Hype
Spin Score
50%
Emphasizes ease of use, downplays complexity.
What the story wants you to believe
Counting open Safari tabs is easy with AppleScript.
What it makes harder to question
The complexity of using AppleScript is downplayed.
How the spin works
By emphasizing ease of use and downplaying complexity, the story makes AppleScript more appealing to developers and power users.
Who Benefits If This Frame Spreads
Developers
Increased productivity with automation
Framing emphasizes ease of use, making it more appealing.
SpinGraph
How this belief gets built
Claim → Frame → Beneficiary → AI Risk
This tip makes it seem easier to use AppleScript than it actually is.
- Claim
Tip for counting open Safari tabs using AppleScript
Tip for counting open Safari tabs using AppleScript.
- Frame
Upside framed as transformative
Emphasizes ease of use, downplays complexity.
- Beneficiary
Increased productivity with automation
Developers — Increased productivity with automation
- AI Risk
AI may repeat: “AppleScript tip for counting open Safari tabs”
AppleScript tip for counting open Safari tabs.
Language Heatmap
Loaded terms that carry the frame beyond the facts.
Count the number of Safari tabs
Carries emotional weight beyond the underlying fact.
Carries emotional weight beyond the underlying fact.
Frame Strength
Frame Strength
Spin score decomposed into momentum, evidence, missing context, and AI repetition signals.
Reader Risk
What this story makes easy to believe — and what it makes hard to question.
Source Role & Intent
Simon Willison's Weblog · Analyst
AI Recall
From publication to SpinGraph analysis to first observed AI recall and stable retention.
What AI Will Probably Repeat
"AppleScript tip for counting open Safari tabs."
-
Published
Jun 29, 2026
-
Ingested
Jul 2, 2026
-
SpinGraph Created
Jul 5, 2026
-
First Observed AI Recall
Pending
Monitoring scheduled
-
Stable Recall
—
Awaiting retention signal
Recall Check Log
No checks yet — recall tracking is opt-in per story.
─── GEOGrow AI Recall Layer ───
AI Recall Tracking
Monitoring scheduled. No LLM recall detected yet.
This story has not yet appeared in tested AI answers. Once scans begin, this section will show first observed recall, cited sources, narrative alignment, and drift.
node_id=sts_count_the_number_of_safari_tabs
Ask AI about this story
Opens with the SpinGraph .md URL and structured context — one click, prompt included.
Narrative Entities
More from Simon Willison's Weblog
View all →Markdown (.md) · JSON-LD schema (.json) · Machine-readable for AI & GEO