Skip to content

en Quick Switch and Selection

Surfire edited this page Dec 4, 2026 · 1 revision

← Back to Home · 简体中文

Open/Save Quick Switch & Cross-App Selection Pass-Through

Two flagship workflows that eliminate repetitive clicking, dragging, and copy-pasting across every desktop app.

Quick Switch Demo
Dialog Quick Switch: Jump straight to any Finder/Explorer folder or fuzzy-matched path inside Open/Save sheets without overwriting your Save filename.
Selection Pass-Through Demo
Selection Pass-Through & In-Place Replace: Select text anywhere, type tr, and press ⌘↵ / Ctrl+↵ to replace in place.

1. Open / Save Dialog Quick Switch

Stop navigating nested folders or dragging directories into tiny Open/Save dialogs when uploading files or saving documents:

How to Use It

  1. While an app's Open or Save / Save As file dialog is active (macOS native & sandboxed openAndSavePanelService panels; Windows native IFileDialog / #32770 dialogs), summon Lumen (⌥Space on macOS / Alt+Space on Windows).
  2. Lumen automatically enters Quick Switch mode, pinning your currently open Finder or File Explorer folders (including Windows 11 tabs, ordered by Z-order) alongside your pinned Quicklink folders.
  3. Either:
    • Press ↩ on a pinned open folder to jump there immediately; or
    • Type any folder or file name to fuzzy-search your entire disk and press ↩.

Built-In Safety Guarantees

  • Save-As filename preserved: In Save dialogs, Lumen switches only the directory, keeps your typed filename intact, and never clicks Save for you.
  • Open dialogs select the target file: Picking a specific file inside an Open dialog navigates straight to its folder and selects it.
  • Zero clipboard pollution: Never modifies or clobbers your clipboard.
  • Focus-loss abort: If focus leaves the file dialog mid-switch, Lumen aborts cleanly instead of sending stray keystrokes to the host app.

Permissions: macOS requires Accessibility permission for Quick Switch; Windows works out of the box without elevation.


2. Cross-App Selection Pass-Through & Selected Files

Highlight text in a browser, editor, PDF reader, or Electron / Chromium app (Antigravity, VS Code, etc.), or select files in Finder / File Explorer, then summon Lumen. The captured context attaches cleanly to a banner at the top of the bar.

Capture Priority (On-Demand Only — Zero Background Polling)

  1. Selected Text: Covers native apps, browsers, and Electron/Chromium (lazy per-PID AXManualAccessibility + 3-tier AX reads on macOS; UIA TextPattern/ValuePattern + Chromium WM_GETOBJECT wake on Windows).
  2. Selected Files: Captures up to 32 selected Finder items on macOS or up to 50 File Explorer / Desktop items on Windows without reading file contents.
  3. 60-Second Fresh Clipboard Text: Falls back to newly copied non-sensitive plain text only within 60 seconds (see Section 3).

Instant Actions With Attached Context

No extra pasting required—just type the command:

  • tr (or tr:zh, tr:ja, etc.): Translate immediately. When captured from an editable field, press ⌘↩ (macOS) or Ctrl+↩ (Windows) after completion to replace the original text in place; press ↩ to copy.
  • qa (or qa summarize in 3 bullets): Ask AI directly using the captured text.
  • g / gh / wiki / custom web quicklinks: Search the web using the captured text.
  • Local Scripts / Apple Shortcuts with arguments: Pass the captured text or files directly as an argument.

Strip Context in One Keystroke (⌘⇧⌫ / Ctrl+Shift+Backspace)

Want to do a regular file search without the attached banner?

  • Press ⌘⇧⌫ (macOS) or Ctrl+Shift+Backspace (Windows), or click × on the context banner.
  • Keeps your typed query intact while dismissing the banner.
  • Never resurrects: Marks that clipboard copy as handled so it stays silent on future summons until you copy something new.

3. 60-Second Clipboard Freshness & Password-Field Isolation

Lumen avoids nagging you with stale clipboard text from half an hour ago:

  1. Zero silent background text reading: Background monitoring checks only clipboard sequence counters and format types—never silently reading clipboard text.
  2. Baseline ignored: Anything already on your clipboard before Lumen launched (or before unlocking your screen) is treated as baseline and never auto-attached.
  3. Strict 60-second window: Only fresh, external, non-sensitive plain text copied within the last 60 seconds appears as a fallback banner.
  4. Silent once consumed or dismissed: Using it in tr/qa/quicklinks/scripts or pressing ⌘⇧⌫ / Ctrl+Shift+Backspace suppresses that sequence number permanently.
  5. Hard password-field & password-manager abort: Focused password inputs (AXSecureTextField on macOS, UIA IsPassword on Windows) and sensitive clipboard markers from password managers (Concealed / Transient / ExcludeClipboardContentFromMonitorProcessing) trigger an immediate hard abort before touching selection or clipboard fallback.

Next Guide: Translation (tr), Q&A (qa), Local AI & Offline Image Search (img) →

Clone this wiki locally