Universal Ctrl+F for macOS. Search for any visible text across all your screens using OCR.
Press Ctrl+F from anywhere in macOS and ScreenFind will:
- Capture all connected screens
- Run OCR (Apple Vision framework) to detect all visible text
- Show a Spotlight-style floating search bar — type to find text in real-time
- Highlight matches in-place with glowing rings (orange = current, yellow = others)
- Track matches live: rings follow text that scrolls or streams
- Navigate between matches with the Up/Down arrow keys
- Press ESC to clear (again to dismiss), or click anywhere outside
For the focused app, ScreenFind also reads off-screen text (scrolled content) via the macOS Accessibility API and shows a badge with the count of hidden matches.
- macOS 14.0+ (Sonoma)
- No third-party dependencies — uses only system frameworks (Vision, ScreenCaptureKit, AppKit, SwiftUI)
git clone https://github.com/YOUR_USERNAME/ScreenFind.git
cd ScreenFind
swift runThe app appears as a magnifying glass icon in the menu bar.
ScreenFind needs three permissions (granted once via System Settings > Privacy & Security):
| Permission | Why |
|---|---|
| Screen Recording | Capture screen content for OCR |
| Accessibility | Read off-screen text in applications |
| Input Monitoring | Listen for the global hotkey |
Access the permission guide from the menu bar: ScreenFind > Permissions...
The global hotkey defaults to Ctrl+F and can be changed in ScreenFind > Settings... Press any modifier+key combination to set a new hotkey.
Sources/ScreenFind/
App/ — Entry point, AppDelegate
Core/ — HotkeyManager, ScreenCaptureService, OCRService,
SearchEngine, MatchNavigator, OverlayCoordinator,
AccessibilityService
Models/ — ScreenCapture, OCRResult, SearchMatch
Overlay/ — OverlayWindowController, OverlayContentView
UI/ — SearchBarContentView, SettingsView, MenuBarView,
OffScreenBadgeView
Permissions/ — PermissionManager, PermissionOnboardingView
Utilities/ — CoordinateTransformer, HotkeyDisplayString
Key design decisions:
- The overlay is fully transparent — the screen stays live and scroll/clicks pass through; the capture is used only as OCR input
- While active, the screen is re-captured and re-OCR'd continuously so highlights follow moving text
- Search is real-time: OCR results are cached, text matching is sub-millisecond per keystroke
- Each screen gets its own overlay window at
.screenSaverlevel - The search bar floats above the overlay in an
NSPanel - Zero third-party dependencies
MIT