How to Control Final Cut Pro, Xcode, Safari, and Claude on Your Mac from iPhone and iPad with Context-Aware Action Pads
Pro Mac applications like Xcode, Final Cut Pro, Safari, and Claude Code are built around deep keyboard shortcuts and rapid context switching. Static mobile toolbars clutter small screens – so Duomote detects the frontmost app on your Mac in real time and transforms your Action Pad automatically.

“This App” Pad (whenApp)
Detects Xcode, Final Cut Pro, Safari, or Claude on your Mac and switches buttons automatically.
Safari Bridge & Quick Switcher
Open links on the Mac, pull active Safari tabs onto iPhone, and focus running Mac apps in one tap.
Hotkey Row, ✥ Joystick & Trust
Floating modifier bar with a 4-way cursor joystick plus two-tier trust for ~/.duomote/actions.json.
| Workflow Requirement | Duomote (Context-Aware Action Pads + Safari Bridge) | Static Remote Desktop Toolbars | Physical Desktop Macro Pads |
|---|---|---|---|
| Adaptation to the frontmost Mac app | Automatic via “This app” pad (whenApp) + front-app quick switcher with app icons | No front-app awareness; one static bar across all apps | Requires sitting physically at the desk next to the Mac |
| Insert stored prompts without mouse positioning | Zero-Click Prompts (pastePrompt) with pre-insert focus verification & autoSend guard | Manual pointer positioning + typing on a glass keyboard | No remote display or mobile session integration |
| Browser handoff between Mac and iPhone | Built-in Safari Bridge (“Open on the Mac…” & “Continue on iPhone”) | Manual copy-pasting or retyping address bar URLs | Not applicable to mobile devices |
| Keyboard modifiers & fine cursor movement | Floating glass hotkey row (Esc, Tab, Shift-Tab, Ctrl) + tactile ✥ cursor joystick | Buried modifier sub-menus along screen edges | Hardware keys only, no remote viewport |
| AI extensibility & repository safety | duomote-deck agent skill (atomic lock) + per-button SHA-256 gate for .duomote.json | Manual button setup inside proprietary menus | Requires proprietary desktop companion daemon |
Why static shortcut bars break down when controlling Xcode, Final Cut Pro, and Safari on a mobile screen
At a desk with a full hardware keyboard, driving Xcode builds, scrubbing through a Final Cut Pro timeline, researching documentation in Safari, and steering coding agents like Claude Code or Codex is muscle memory. You fire off ⌘B, ⌘U, ⌘L, or Shift-Tab without thinking. On an iPhone, iPhone Duo, or iPad, however, trying to chord multi-modifier shortcuts on an overlay keyboard – or dragging a mouse cursor to the top menu bar of a 5K Mac display – quickly slows down your workflow.
Traditional remote desktop apps try to solve this with a static strip of function keys. The problem is that a button useful in Xcode is dead weight when you switch to Safari or Final Cut Pro. Duomote for iPhone, iPhone Duo, and iPad solves this structurally: your control deck knows which application is in the foreground on your Mac and reshapes its buttons around your current focus.
The “This app” pad (whenApp), the front-app quick switcher, and the bidirectional Safari Bridge
When you open the “This app” page in Duomote’s deck, a lightweight background service samples the frontmost application on your Mac once per second – and automatically stops sampling the moment you leave the page or background the app. To prevent a button from changing right under your thumb as you reach to tap it, Duomote enforces two strict ergonomic guards: a front-app change is applied only after two consecutive identical 1-second samples, and the grid never mutates while a touch is active on the screen. Even then, Duomote’s dispatcher verifies at the moment of your tap that the front-app reading is at most 2 seconds old and still matches the button’s `whenApp` bundle identifier before sending the action.
Right inside the deck bar, a compact front-app quick switcher shows the authentic app icons of your Mac’s running foreground apps. One tap brings Xcode, Final Cut Pro, Safari, or Finder to the front on your Mac and switches the “This app” pad to match. When Safari (`com.apple.Safari`) is in front, Duomote pairs essential tab shortcuts (`⌘T`, `⌘W`, `⌘R`, `⌘L`) with two purpose-built bridge actions:
- “Open on the Mac…”: Type or paste a URL (`http`/`https`) or search phrase on your iPhone – Duomote opens valid web links directly in Safari on your Mac and routes plain-text queries through Safari’s configured default search engine (while safely refusing `javascript:` or `file:` schemes).
- “Continue on iPhone”: One tap reads the `http`/`https` URL of the active tab in the frontmost Safari window on your Mac and opens it immediately on your iPhone or iPad.
- Ready-to-use template pads out of the box: Editable preset pads for Safari, Finder, Mail, Notes, FaceTime, tmux (with confirmation sheets on pane or session close), and coding agents including Claude Code, Codex, agy, and Muse.
Zero-Click Prompts (pastePrompt), the floating hotkey row, and the tactile ✥ cursor joystick
For workflows that span graphical Mac apps and AI coding assistants, Duomote introduces two specialized button types alongside `keyCombo`, `sshCommand`, `claudePrompt`, `openRemoteFolder`, and `quickDownloadLatest`: `openApp` and `pastePrompt`. Tapping an `openApp` button launches or focuses the target Mac application by its bundle identifier or `.app` path and, on the iPhone Duo Laptop lower deck, automatically flips back to your keyboard and trackpad (`returnToKeyboard`) once the action succeeds.
Tapping a `pastePrompt` button executes a safety-checked Zero-Click Prompt sequence: Duomote first brings the target Mac app to the front (displaying a pending state with a Cancel button during the wait window) and optionally sends a `focusCombo` shortcut to focus the input field. Right before inserting the prompt, Duomote verifies in the same operation that the target app is still frontmost – if another window stole focus, the paste is aborted cleanly rather than typing into the wrong app. Multi-line prompts are blocked by default unless both a target app and `allowNewlines: true` are explicitly configured, protecting shells and terminal REPLs from accidental line-by-line execution.
Floating glass hotkey row with a 4-way ✥ cursor joystick above the keyboard
Whenever the system keyboard is up on your iPhone or iPad, Duomote floats an editable glass pad (“Above the keyboard”) right above the keys featuring Esc, Tab, Shift-Tab (to cycle Claude Code and Codex modes), a latching Ctrl key, Ctrl+C, ⌘C, ⌘V, ⌘Z, Return, and the ✥ cursor joystick: hold and slide horizontally to step left/right or vertically to step up/down through command history and TUI menus with a crisp haptic tick on every step.
Two-tier trust: ~/.duomote/actions.json, project .duomote.json files, and the duomote-deck agent skill
Every personal pad and button lives in a clean UTF-8 JSON file at `~/.duomote/actions.json` on your Mac. The Mac is always the single source of truth: Duomote polls the file every 3 seconds over its dedicated control channel while your workspace is open. When you edit a button’s title, symbol, shortcut, or prompt in Duomote’s on-device Action Studio, a byte-level JSON writer patches only the modified fields in place – preserving your key ordering, indentation, and any custom fields verbatim. Editing a shipped preset button creates a non-destructive user copy that shadows the factory preset, so a single tap on Reset can always restore the original pad.
Even better, you never have to write JSON by hand. With the bundled `duomote-deck` skill, you can ask Claude Code or your preferred coding agent on the Mac to build a custom pad for Final Cut Pro exports, Xcode test targets, or database migrations. The agent inspects your installed `/Applications`, prepares the buttons and custom PNG icons (up to 256×256 px), and applies the update through an atomic commit-lock helper (`actions-lock.sh`) that verifies the file’s base SHA-256 hash so concurrent edits never collide. If an agent modifies an action-defining field of an existing home button, Duomote displays a non-blocking Old → New mutation notice. And when a cloned repository includes its own `<project>/.duomote.json` file, Duomote enforces strict isolation: project files are add-only (they can never override an ID from `~/.duomote/actions.json`) and every project button requires individual confirmation showing its resolved command, line count, and file SHA-256 before it can run.
How to control Xcode, Final Cut Pro, Safari, and Claude with context-aware Action Pads in 3 steps
Use automatic front-app switching, Zero-Click Prompts, and the floating hotkey row from your iPhone, iPhone Duo, or iPad.
- 1
Open the “This app” pad or tap an icon in the front-app quick switcher
Swipe to the “This app” pad or tap Xcode, Final Cut Pro, or Safari in the deck bar’s quick switcher – Duomote brings that app to the front on your Mac and loads its matching buttons.
- 2
Customize buttons in Action Studio or generate pads via duomote-deck
Edit any preset button, key combo, or Zero-Click Prompt directly in Duomote’s Action Studio (with instant factory reset), or ask your coding agent on the Mac to create a new pad in ~/.duomote/actions.json using the duomote-deck skill.
- 3
Use the floating hotkey row & ✥ joystick while typing
Bring up the keyboard to access the floating glass row for Shift-Tab, Esc, and ⌘ shortcuts, or slide the ✥ cursor joystick to step through code, timelines, and terminal menus with haptic feedback.
Key takeaways
- The “This app” pad (whenApp) automatically adapts your buttons to Xcode, Final Cut Pro, Safari, Finder, or Claude – guarded by two-sample debouncing and touch-active locking.
- The built-in Safari Bridge connects your Mac and iPhone in both directions (“Open on the Mac…” and “Continue on iPhone”).
- Zero-Click Prompts (pastePrompt), the floating hotkey row with its ✥ cursor joystick, and the two-tier trust model (~/.duomote/actions.json + SHA-256-verified .duomote.json) make complex Mac apps effortless on mobile.
Frequently asked questions
What happens if another window pops up on my Mac right as I tap a context-aware button?
Duomote prevents mis-taps at both the UI layer and the dispatcher layer. First, the “This app” grid only switches after two consecutive identical 1-second samples and never mutates while your finger is touching the screen. Second, when you tap a `whenApp` button or trigger a `pastePrompt` insertion, Duomote verifies that the front-app reading is fresh and matches the target bundle identifier – refusing the action cleanly if focus changed.
How does “Continue on iPhone” work on the Safari pad?
When Safari is open on your Mac, tapping “Continue on iPhone” queries the URL of the current tab in the frontmost Safari window, verifies that it is a valid `http` or `https` address, and opens it directly on your iPhone or iPad. If Automation permission for Safari has not been granted yet on your Mac, Duomote shows a clear notice explaining where to enable it in System Settings.
Can a `.duomote.json` file inside a cloned Git repository overwrite my personal buttons or run silently?
No. Project files (`<project>/.duomote.json`) are strictly add-only and cannot override any button ID defined in your home `~/.duomote/actions.json`. Furthermore, every project button is visually badged and requires explicit per-button confirmation displaying the exact resolved command or prompt, keyed to the file’s SHA-256 hash.
Can I customize the built-in template pads for Claude Code, tmux, or Safari without losing the defaults?
Yes. Editing any shipped preset button in Duomote’s Action Studio creates a user copy that shadows the built-in preset without mutating it in place. You can re-add removed preset buttons or reset an entire pad back to factory defaults at any time.
Related Duomote features
AI Action Pads, Skills & MCP Hub: Powered by ~/.duomote/actions.json
Feature · Action Pads, Skills & MCP Hub
Agent Rooms & Vibe Chat: Control Claude Code, Codex & tmux from iPhone
Feature · Agent Rooms, Vibe Chat & Claude Bridge
Media player with Picture in Picture & background playback
Feature · Media Player & PiP
Your Mac as a drive in the Files app on iPhone and iPad
Feature · Files Integration
More articles from the blog
AI Coding from the Couch or On the Go: Driving Claude Code & Custom Action Pads from Your iPhone
AI Coding & Workflows · 7 min read
Pure Terminal App vs. Visual Mac Remote with a Claude Code Console: Why Developers Need Both on iPhone and iPad
Developer Workflows · 7 min read
Agent Rooms & Vibe Chat: How to Control Claude Code, Codex, and tmux Sessions on Your Mac from iPhone
AI Workflows & Agents · 8 min read
Using iPhone Duo as a Mini MacBook: One Workspace for Every Posture
Mobile Productivity · 6 min read
Duomote is coming soon to the App Store.
Join the waitlist to get notified at launch and reserve the early adopter launch price.