Skip to content
AI Workflows & Productivity· 8 min read

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.

Illustration: Duomote’s context-aware Action Pads (whenApp) auto-switching controls for Xcode, Final Cut Pro, Safari, and Claude Code alongside the floating hotkey row and 4-way cursor joystick.
whenApp · Safari Bridge · ✥ Joystick

“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.

Illustration: Duomote’s context-aware Action Pads (whenApp) auto-switching controls for Xcode, Final Cut Pro, Safari, and Claude Code alongside the floating hotkey row and 4-way cursor joystick.
Architecture Comparison: Controlling pro Mac apps (Xcode, Final Cut Pro, Safari & Claude) from iPhone and iPad
Workflow RequirementDuomote (Context-Aware Action Pads + Safari Bridge)Static Remote Desktop ToolbarsPhysical Desktop Macro Pads
Adaptation to the frontmost Mac appAutomatic via “This app” pad (whenApp) + front-app quick switcher with app iconsNo front-app awareness; one static bar across all appsRequires sitting physically at the desk next to the Mac
Insert stored prompts without mouse positioningZero-Click Prompts (pastePrompt) with pre-insert focus verification & autoSend guardManual pointer positioning + typing on a glass keyboardNo remote display or mobile session integration
Browser handoff between Mac and iPhoneBuilt-in Safari Bridge (“Open on the Mac…” & “Continue on iPhone”)Manual copy-pasting or retyping address bar URLsNot applicable to mobile devices
Keyboard modifiers & fine cursor movementFloating glass hotkey row (Esc, Tab, Shift-Tab, Ctrl) + tactile ✥ cursor joystickBuried modifier sub-menus along screen edgesHardware keys only, no remote viewport
AI extensibility & repository safetyduomote-deck agent skill (atomic lock) + per-button SHA-256 gate for .duomote.jsonManual button setup inside proprietary menusRequires 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. 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. 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. 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

More articles from the blog

Duomote is coming soon to the App Store.

Join the waitlist to get notified at launch and reserve the early adopter launch price.

We only use your email to tell you when Duomote launches. Details in the privacy policy.

Join the public beta on TestFlight

Requires an iPhone with current iOS