Select-to-Transform uses the LLM to transform the selected text according to your spoken instruction. It does not respond conversationally — it only returns the modified version of what you selected.
Workflow
Select the text you want to transform
Highlight any text in any application — a sentence in an email, a paragraph in a document, a comment in your code editor. Any selection that can be copied via
Ctrl+C will work.Press Ctrl+Shift+K
The recording overlay appears near your cursor, just like a normal dictation session. Trueears detects that you have text selected and switches into transform mode automatically.
Speak your transformation instruction
Describe what you want done with the selected text. For example:
- “Make it professional”
- “Translate to Spanish”
- “Convert to bullet points”
- “Fix the grammar”
- “Summarize this”
Press Ctrl+Shift+K again (or release the key)
Recording stops. The selected text and your spoken instruction are both sent to the LLM.
Example Transformations
| Instruction | What the LLM does |
|---|---|
| ”Make it professional” | Rewrites the text in formal, polished language |
| ”Translate to Spanish” | Translates the full selection to Spanish |
| ”Convert to bullet points” | Reformats prose as a bullet list |
| ”Fix the grammar” | Corrects spelling, punctuation, and grammar errors |
| ”Summarize this” | Condenses the selection into a shorter summary |
| ”Make it shorter” | Removes unnecessary words while preserving meaning |
| ”Add more detail” | Expands the text with relevant additional context |
| ”Change to past tense” | Rewrites verbs in the past tense |
How It Works Technically
When you trigger the hotkey with text selected, the Rust backend runs two operations before the overlay appears:copy_selected_text()— simulatesCtrl+Cviaenigoto copy whatever is currently highlighted to the clipboard, then reads the clipboard value usingarboardget_active_window_info()— captures the foreground app for profile matching
dictationController.ts calls GroqChatService.transformText() with a prompt that combines:
- The original selected text
- Your spoken transformation instruction
