Macrophone

Docs

tmux panes

If you run Claude Code (or anything else) inside tmux, Macrophone can type straight into the pane. It works whatever app is in front, even with the terminal hidden.

Set it up#

  1. In a profile, under Where it goes, choose Type into a tmux pane.
  2. Pick a pane from the list (it shows session:window.pane, the program running and the folder, from tmux list-panes -a), or type a target such as work:1.0. Refresh re-reads the list.
  3. Turn on Press Return after typing if you want it sent.
The profile editor with Where it goes set to Type into a tmux pane: the pane mptest:0.0 running zsh in ~/claude-projects/SameerOS, a Refresh button, Press Return after typing turned on, and Format set to Single line.
Pick a pane, then decide whether to press Return.

Macrophone finds tmux in /opt/homebrew/bin, then /usr/local/bin, then your login shell's PATH. If it isn't installed, the editor says so: “tmux isn't installed. Install it with Homebrew: brew install tmux”.

Pair it with {{tmux_cwd}} in a template to tell the program which folder you're in.

How the text goes in#

  • One line goes in as literal keys: tmux send-keys -t <target> -l <text>.
  • Several lines go in as one bracketed paste (load-buffer then paste-buffer -p), so a line break never runs a half-typed command.
  • Press Return after typing sends Enter afterwards.
  • The same 2.5-second countdown applies, and delayed dictations are never typed.
The Mac panel with a check mark reading “Sent to tmux work:1.0”, with the text “git status”.

When it can’t#

If the pane is gone, the panel says “There's no tmux pane work:1.0 right now”, the text is on your clipboard, and Try Again retries.