<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>OnText Blog</title>
        <link>https://ontext.dev/blog</link>
        <description>OnText Blog</description>
        <lastBuildDate>Sat, 16 May 2026 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[AI Rewrite Selected Text on Mac with OnText]]></title>
            <link>https://ontext.dev/blog/ai-rewrite-selected-text-mac</link>
            <guid>https://ontext.dev/blog/ai-rewrite-selected-text-mac</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Use OnText Inline AI to rewrite, summarize, replace, and copy selected text on macOS with ChatGPT, Gemini, Claude, or Ollama.]]></description>
            <content:encoded><![CDATA[<p>OnText lets you rewrite selected text on Mac without copying it into a separate chat window. Select the text, open the OnText panel, ask Inline AI what to do, then replace the original text or copy the result.</p>
<p>This workflow is designed for writing, support replies, notes, documentation, and any place where the cost of switching apps interrupts the work.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-the-workflow-works">How The Workflow Works<a href="https://ontext.dev/blog/ai-rewrite-selected-text-mac#how-the-workflow-works" class="hash-link" aria-label="Direct link to How The Workflow Works" title="Direct link to How The Workflow Works" translate="no">​</a></h2>
<ol>
<li class="">Select text in your current Mac app.</li>
<li class="">Press your OnText hotkey, <strong>F2</strong> by default.</li>
<li class="">Open Inline AI from the panel.</li>
<li class="">Type a prompt such as <code>Make this clearer</code> or <code>Rewrite this in a concise support tone</code>.</li>
<li class="">Use <strong>Command-R</strong> to replace the selected text, or <strong>Command-C</strong> to smart copy the AI response.</li>
</ol>
<p>OnText automatically appends the selected text to the prompt. If you need precise placement, use the <code>{text}</code> placeholder in the prompt.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="useful-rewrite-prompts">Useful Rewrite Prompts<a href="https://ontext.dev/blog/ai-rewrite-selected-text-mac#useful-rewrite-prompts" class="hash-link" aria-label="Direct link to Useful Rewrite Prompts" title="Direct link to Useful Rewrite Prompts" translate="no">​</a></h2>
<p>Try these as prompt presets:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Make this shorter while keeping the main point.</span><br></span></code></pre></div></div>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Rewrite this in a clear, professional tone.</span><br></span></code></pre></div></div>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Fix grammar and keep the original meaning.</span><br></span></code></pre></div></div>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Turn this into a concise bullet list.</span><br></span></code></pre></div></div>
<p>Prompt presets are useful when you repeat the same rewrite task every day. See the <a class="" href="https://ontext.dev/docs/user-guide/inline-ai">Inline AI guide</a> for provider setup and preset management.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="provider-and-privacy-notes">Provider And Privacy Notes<a href="https://ontext.dev/blog/ai-rewrite-selected-text-mac#provider-and-privacy-notes" class="hash-link" aria-label="Direct link to Provider And Privacy Notes" title="Direct link to Provider And Privacy Notes" translate="no">​</a></h2>
<p>OnText supports Inline AI providers including ChatGPT, Gemini, Claude, and Ollama. Core local actions run on your Mac, but selected text is sent to the configured cloud AI provider when you choose a cloud AI action.</p>
<p>If you want local AI processing, use Ollama. That keeps the AI workflow on your machine, subject to the local model you configure.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="when-this-is-useful">When This Is Useful<a href="https://ontext.dev/blog/ai-rewrite-selected-text-mac#when-this-is-useful" class="hash-link" aria-label="Direct link to When This Is Useful" title="Direct link to When This Is Useful" translate="no">​</a></h2>
<p>Use OnText Inline AI when you want to:</p>
<ul>
<li class="">Rewrite an email without leaving the mail app.</li>
<li class="">Summarize selected research notes.</li>
<li class="">Make a rough paragraph more polished.</li>
<li class="">Convert selected prose into a checklist.</li>
<li class="">Replace selected text with the AI result in place.</li>
</ul>
<p>For non-AI workflows, OnText also supports <a class="" href="https://ontext.dev/docs/user-guide/url-actions">URL actions</a>, <a class="" href="https://ontext.dev/docs/user-guide/shell-scripts">shell scripts</a>, AppleScript, and macOS Shortcuts.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="next-steps">Next Steps<a href="https://ontext.dev/blog/ai-rewrite-selected-text-mac#next-steps" class="hash-link" aria-label="Direct link to Next Steps" title="Direct link to Next Steps" translate="no">​</a></h2>
<ul>
<li class="">Read the <a class="" href="https://ontext.dev/docs/user-guide/inline-ai">Inline AI guide</a>.</li>
<li class="">Learn the basic selected-text flow in <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>.</li>
<li class="">Review <a class="" href="https://ontext.dev/docs/user-guide/placeholders">placeholders</a> for precise prompt control.</li>
<li class=""><a href="https://github.com/gityeop/OnText-Updates/releases/latest/download/OnText.dmg" target="_blank" rel="noopener noreferrer" class="">Download OnText</a>.</li>
</ul>]]></content:encoded>
            <category>AI</category>
        </item>
        <item>
            <title><![CDATA[Keyboard-First Mac Productivity with OnText]]></title>
            <link>https://ontext.dev/blog/keyboard-first-mac-productivity-app</link>
            <guid>https://ontext.dev/blog/keyboard-first-mac-productivity-app</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Build a keyboard-first Mac workflow with OnText by turning selected text into search, automation, and AI actions without switching context.]]></description>
            <content:encoded><![CDATA[<p>A keyboard-first Mac productivity workflow should keep common actions close to the text you are already reading or writing. OnText does that by opening a compact action panel after you select text and press your configured hotkey.</p>
<p>The goal is not to replace every app launcher or automation tool. The goal is to remove the repeated copy, switch app, paste, run command cycle for selected text.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-basic-workflow">The Basic Workflow<a href="https://ontext.dev/blog/keyboard-first-mac-productivity-app#the-basic-workflow" class="hash-link" aria-label="Direct link to The Basic Workflow" title="Direct link to The Basic Workflow" translate="no">​</a></h2>
<ol>
<li class="">Select text in any Mac app.</li>
<li class="">Press the OnText hotkey.</li>
<li class="">Run an action from the panel or use the action shortcut.</li>
</ol>
<p>This works well for quick search, copy, translation, character count, Large Type, shell scripts, AppleScript, Shortcuts, URL actions, and Inline AI.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="example-search-without-leaving-the-keyboard">Example: Search Without Leaving the Keyboard<a href="https://ontext.dev/blog/keyboard-first-mac-productivity-app#example-search-without-leaving-the-keyboard" class="hash-link" aria-label="Direct link to Example: Search Without Leaving the Keyboard" title="Direct link to Example: Search Without Leaving the Keyboard" translate="no">​</a></h2>
<p>Create a URL action with this template:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">https://www.google.com/search?q={text}</span><br></span></code></pre></div></div>
<p>Select a phrase, open OnText, and trigger the action. OnText inserts the selected text into the URL and opens the search without a manual copy and paste step.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="example-turn-text-into-an-automation-input">Example: Turn Text Into an Automation Input<a href="https://ontext.dev/blog/keyboard-first-mac-productivity-app#example-turn-text-into-an-automation-input" class="hash-link" aria-label="Direct link to Example: Turn Text Into an Automation Input" title="Direct link to Example: Turn Text Into an Automation Input" translate="no">​</a></h2>
<p>For a keyboard-heavy workflow, custom actions are where OnText becomes useful. A selected paragraph can become:</p>
<ul>
<li class="">input for a shell script;</li>
<li class="">input for a macOS Shortcut;</li>
<li class="">a query in a documentation site;</li>
<li class="">a prompt for Inline AI;</li>
<li class="">a note capture action in another app.</li>
</ul>
<p>Start with a small action you repeat daily. A good first automation is a URL action or Shortcut action because the setup is visible and easy to test.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="when-this-fits">When This Fits<a href="https://ontext.dev/blog/keyboard-first-mac-productivity-app#when-this-fits" class="hash-link" aria-label="Direct link to When This Fits" title="Direct link to When This Fits" translate="no">​</a></h2>
<p>OnText fits best when you already work from the keyboard and repeatedly act on selected text:</p>
<ul>
<li class="">reading technical docs and searching unfamiliar terms;</li>
<li class="">writing notes and sending snippets into another app;</li>
<li class="">translating short passages;</li>
<li class="">rewriting text without opening a separate AI chat;</li>
<li class="">running scripts on selected identifiers, file paths, or commands.</li>
</ul>
<p>If you rarely select text before acting, a general launcher may be a better first layer. If selected text is the starting point, OnText keeps the action closer to the work.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="next-step">Next Step<a href="https://ontext.dev/blog/keyboard-first-mac-productivity-app#next-step" class="hash-link" aria-label="Direct link to Next Step" title="Direct link to Next Step" translate="no">​</a></h2>
<p>Set up OnText with <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>, then build your first custom action with <a class="" href="https://ontext.dev/docs/user-guide/custom-actions">Custom Actions</a>. For automation-heavy workflows, continue with <a class="" href="https://ontext.dev/docs/user-guide/shortcuts-integration">Shortcuts Integration</a> and <a class="" href="https://ontext.dev/docs/user-guide/placeholders">Placeholders</a>.</p>]]></content:encoded>
            <category>Tips</category>
        </item>
        <item>
            <title><![CDATA[Send Selected Text to macOS Shortcuts with OnText]]></title>
            <link>https://ontext.dev/blog/macos-shortcuts-selected-text</link>
            <guid>https://ontext.dev/blog/macos-shortcuts-selected-text</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Pass selected text to macOS Shortcuts with OnText. Build a Create Note shortcut, connect it to an action, and capture a passage from your current Mac app.]]></description>
            <content:encoded><![CDATA[<p>OnText passes selected text to a macOS Shortcut as Shortcut Input. Connect a Shortcut once, then select a passage, open OnText, and run the action. Your existing automation gets the text without a separate copy-and-paste step.</p>
<p>This walkthrough builds a <strong>Create Note</strong> Shortcut and connects it to OnText. Shortcut actions require OnText Pro. Updated October 24, 2026.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="build-a-create-note-shortcut">Build a Create Note Shortcut<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#build-a-create-note-shortcut" class="hash-link" aria-label="Direct link to Build a Create Note Shortcut" title="Direct link to Build a Create Note Shortcut" translate="no">​</a></h2>
<ol>
<li class="">Open Apple's <strong>Shortcuts</strong> app and create a new Shortcut.</li>
<li class="">Name it <strong>Create Note</strong>.</li>
<li class="">Add the <strong>Create Note</strong> action from Notes.</li>
<li class="">Set the note body to the <strong>Shortcut Input</strong> variable.</li>
<li class="">Choose the destination folder you want to use in Notes.</li>
</ol>
<p>The important connection is the note body: it must use <strong>Shortcut Input</strong> so the text supplied by OnText becomes the note content.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="connect-the-shortcut-to-ontext">Connect the Shortcut to OnText<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#connect-the-shortcut-to-ontext" class="hash-link" aria-label="Direct link to Connect the Shortcut to OnText" title="Direct link to Connect the Shortcut to OnText" translate="no">​</a></h2>
<ol>
<li class="">Open <strong>OnText Preferences → Actions</strong> and click <strong>+</strong>.</li>
<li class="">Set the action title to <strong>Create Note</strong>.</li>
<li class="">Choose <strong>Shortcut</strong> as the action type.</li>
<li class="">Enter <strong>Create Note</strong> as the Shortcut name, matching the name in the Shortcuts app.</li>
<li class="">Assign an available action key if you want to trigger it from the keyboard.</li>
</ol>
<p>OnText runs the named Shortcut and supplies the selection as text input. You keep editing the automation in Shortcuts; the OnText action is its entry point from selected text.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="try-the-complete-workflow">Try the Complete Workflow<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#try-the-complete-workflow" class="hash-link" aria-label="Direct link to Try the Complete Workflow" title="Direct link to Try the Complete Workflow" translate="no">​</a></h2>
<p>Select this text in a supported Mac app:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Release checklist: review the copy, check the download, and test the update.</span><br></span></code></pre></div></div>
<p>Press <strong>F2</strong> or your configured OnText shortcut, then run <strong>Create Note</strong> by clicking the action or pressing its assigned key. Open Notes and check that the new note contains the selected text.</p>
<p>The next time you want to capture a quote or a meeting takeaway, use the same action. The seamless part is the handoff: select → trigger → run, with no manual transfer into Shortcuts.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="extend-the-workflow-you-already-use">Extend the Workflow You Already Use<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#extend-the-workflow-you-already-use" class="hash-link" aria-label="Direct link to Extend the Workflow You Already Use" title="Direct link to Extend the Workflow You Already Use" translate="no">​</a></h2>
<p>You can connect other text-based Shortcuts in the same way:</p>
<ul>
<li class="">Create a reminder whose title comes from Shortcut Input.</li>
<li class="">Add a selected quote to a note-taking workflow.</li>
<li class="">Translate text and show or copy the result.</li>
</ul>
<p>Configure what happens to the input inside the Shortcut. OnText supplies the selection; the Shortcut determines the destination and any further steps. A Shortcut that asks questions or opens another app will still do so when launched from OnText.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-to-know-before-using-it-daily">What to Know Before Using It Daily<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#what-to-know-before-using-it-daily" class="hash-link" aria-label="Direct link to What to Know Before Using It Daily" title="Direct link to What to Know Before Using It Daily" translate="no">​</a></h2>
<p>The Shortcut must exist on your Mac, and its name in OnText must match. macOS may ask for permission when the Shortcut accesses Notes or another app. Try the complete workflow once before making it part of your routine.</p>
<p>Execution time depends on the actions inside the Shortcut and any services they contact. Keeping the handoff short does not make a remote service or a long automation finish instantly.</p>
<p>OnText needs Accessibility permission to capture selected text. If your Shortcut sends text to an online service, that service receives the input as part of the workflow.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="keep-your-next-action-close">Keep Your Next Action Close<a href="https://ontext.dev/blog/macos-shortcuts-selected-text#keep-your-next-action-close" class="hash-link" aria-label="Direct link to Keep Your Next Action Close" title="Direct link to Keep Your Next Action Close" translate="no">​</a></h2>
<p>See <a class="" href="https://ontext.dev/docs/user-guide/shortcuts-integration">Shortcuts Integration</a> for the reference, or <a class="" href="https://ontext.dev/docs/user-guide/custom-actions">Custom Actions</a> to set up action keys and regex context rules. If your automation is a command-line transformation, try the <a class="" href="https://ontext.dev/blog/run-shell-script-selected-text-mac">selected-text shell script walkthrough</a>.</p>]]></content:encoded>
            <category>Automation</category>
        </item>
        <item>
            <title><![CDATA[OnText vs. PopClip: Text Actions That Keep Your Flow]]></title>
            <link>https://ontext.dev/blog/popclip-alternative</link>
            <guid>https://ontext.dev/blog/popclip-alternative</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Compare OnText and PopClip for Mac text actions. Explore keyboard workflows, custom scripts, Shortcuts, and what to try when responsiveness matters to you.]]></description>
            <content:encoded><![CDATA[<p>Looking for a PopClip alternative for Mac? OnText is a native text action app built around speed and a seamless workflow: select text, press your shortcut, and run an action. Copy, search, translate, or send the selection to a script, macOS Shortcut, or Inline AI.</p>
<p>This comparison is written by the creator of OnText. It focuses on the interaction and setup choices you can check for yourself. Updated October 24, 2026.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-makes-ontext-worth-trying">What Makes OnText Worth Trying?<a href="https://ontext.dev/blog/popclip-alternative#what-makes-ontext-worth-trying" class="hash-link" aria-label="Direct link to What Makes OnText Worth Trying?" title="Direct link to What Makes OnText Worth Trying?" translate="no">​</a></h2>
<p>Small text tasks add up: copy a phrase, search for it, return to your document, select another passage, and repeat. OnText puts those actions in a compact panel beside your work. Open it with <strong>F2</strong> by default, then click an action or press its assigned key.</p>
<p>The design goal is a quick, continuous rhythm from selection to action. You can start with Copy and Search, then add your own actions for the work you repeat. A URL, shell script, AppleScript, or macOS Shortcut can become a named action in the same panel.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="ontext-vs-popclip-at-a-glance">OnText vs. PopClip at a Glance<a href="https://ontext.dev/blog/popclip-alternative#ontext-vs-popclip-at-a-glance" class="hash-link" aria-label="Direct link to OnText vs. PopClip at a Glance" title="Direct link to OnText vs. PopClip at a Glance" translate="no">​</a></h2>
<table><thead><tr><th>Workflow choice</th><th>OnText</th><th>PopClip</th></tr></thead><tbody><tr><td>Opening the panel</td><td>Select text and press your configurable trigger shortcut; F2 is the default</td><td>Can appear automatically after pointer selection, or manually with a configured keyboard shortcut</td></tr><tr><td>Repeating an action</td><td>Assign an action key and press it while the panel is open</td><td>In keyboard control mode, use arrow keys to select an action and Return to run it</td></tr><tr><td>Adding your own tools</td><td>Configure URL, shell script, AppleScript, and Shortcut actions in OnText Preferences</td><td>Install ready-made extensions or create your own, including text snippets</td></tr><tr><td>Where to start</td><td>Free tier with Copy, Search, and up to three custom actions; Pro adds the full workflow</td><td>Free trial; check PopClip's current purchase options on its website</td></tr></tbody></table>
<p>PopClip supports manual keyboard activation too. Choosing OnText is about whether its panel, action keys, and setup feel right in your daily work. PopClip's <a href="https://www.popclip.app/guide/basics" target="_blank" rel="noopener noreferrer" class="">basics</a>, <a href="https://www.popclip.app/guide/settings" target="_blank" rel="noopener noreferrer" class="">settings</a>, and <a href="https://www.popclip.app/guide/extensions" target="_blank" rel="noopener noreferrer" class="">extensions</a> guides document these interaction and customization options. See the <a href="https://www.popclip.app/guide/" target="_blank" rel="noopener noreferrer" class="">PopClip website</a> for trial and purchase information.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-fast-rhythm-for-repeated-actions">A Fast Rhythm for Repeated Actions<a href="https://ontext.dev/blog/popclip-alternative#a-fast-rhythm-for-repeated-actions" class="hash-link" aria-label="Direct link to A Fast Rhythm for Repeated Actions" title="Direct link to A Fast Rhythm for Repeated Actions" translate="no">​</a></h2>
<p>With OnText Pro, you can assign an available key such as <strong>S</strong> to Search. Select a phrase, press <strong>F2</strong>, then <strong>S</strong>. Once that sequence is familiar, you can trigger Search directly by its assigned key each time you open the panel.</p>
<p>That repeatable rhythm is central to OnText: a quick path from the text you have selected to the action you want. Try it in the Mac apps you use every day and pay attention to the whole interaction, from opening the panel to continuing your work. Search, AI, and script completion times also depend on the tools and services you use.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="try-a-repeatable-search-workflow">Try a Repeatable Search Workflow<a href="https://ontext.dev/blog/popclip-alternative#try-a-repeatable-search-workflow" class="hash-link" aria-label="Direct link to Try a Repeatable Search Workflow" title="Direct link to Try a Repeatable Search Workflow" translate="no">​</a></h3>
<ol>
<li class="">Select a phrase in a supported Mac app.</li>
<li class="">Press <strong>F2</strong>, or your configured OnText trigger.</li>
<li class="">Run Search from the panel.</li>
<li class="">Return to your document and repeat with another phrase.</li>
</ol>
<p>Then try an action you use every day, such as copying a quote or formatting selected text. With OnText Pro, assign a key to that action and compare how the full interaction feels.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="build-a-text-workflow-you-can-reuse">Build a Text Workflow You Can Reuse<a href="https://ontext.dev/blog/popclip-alternative#build-a-text-workflow-you-can-reuse" class="hash-link" aria-label="Direct link to Build a Text Workflow You Can Reuse" title="Direct link to Build a Text Workflow You Can Reuse" translate="no">​</a></h2>
<p>OnText's custom actions keep different tools behind the same interaction. For example, you can configure:</p>
<ul>
<li class="">A URL action that searches the selected phrase on a reference site.</li>
<li class="">A shell action that formats text and copies or pastes the result.</li>
<li class="">A macOS Shortcut that creates a note from the selection.</li>
<li class="">An Inline AI prompt that rewrites a paragraph, then lets you replace it in an editable field.</li>
</ul>
<p>Start with the <a class="" href="https://ontext.dev/blog/run-shell-script-selected-text-mac">shell script walkthrough</a> or the <a class="" href="https://ontext.dev/blog/macos-shortcuts-selected-text">selected-text Shortcuts guide</a>. For AI, see <a class="" href="https://ontext.dev/blog/ai-rewrite-selected-text-mac">rewriting selected text on Mac</a>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="which-should-you-choose">Which Should You Choose?<a href="https://ontext.dev/blog/popclip-alternative#which-should-you-choose" class="hash-link" aria-label="Direct link to Which Should You Choose?" title="Direct link to Which Should You Choose?" translate="no">​</a></h2>
<p>Try OnText if you want a responsive text action panel, a repeatable shortcut-and-action-key workflow, and custom actions configured inside the app. Try PopClip if its automatic selection menu and extension workflow match the way you work. Both are worth evaluating with your own text tasks.</p>
<p>OnText requires macOS 13.0 or later and Accessibility permission. The free tier includes Copy, Search, and up to three custom actions. Pro includes action keyboard shortcuts, script and Shortcuts actions, regex rules, and Inline AI. Cloud AI and online actions may send text to the service you choose, and provider charges may apply.</p>
<p><a href="https://github.com/gityeop/OnText-Updates/releases/latest/download/OnText.dmg" target="_blank" rel="noopener noreferrer" class="">Download OnText</a>, follow <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>, and try it with the text tasks you repeat most.</p>]]></content:encoded>
            <category>Comparisons</category>
        </item>
        <item>
            <title><![CDATA[Run a Shell Script on Selected Text on Mac with OnText]]></title>
            <link>https://ontext.dev/blog/run-shell-script-selected-text-mac</link>
            <guid>https://ontext.dev/blog/run-shell-script-selected-text-mac</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Run a shell script on selected text on Mac with OnText. Set up a reusable action to transform a selection, copy the output, or paste it back into your work.]]></description>
            <content:encoded><![CDATA[<p>OnText lets you run a shell script on selected text on your Mac. Save the command as an action, select text in a supported app, and trigger it from the OnText panel. A repeated trip through Terminal becomes an action you can reuse while you work.</p>
<p>This walkthrough creates an uppercase action with a visible result, then shows how to paste that result back. Shell Script actions require OnText Pro. Updated October 24, 2026.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="create-your-first-selected-text-shell-action">Create Your First Selected-Text Shell Action<a href="https://ontext.dev/blog/run-shell-script-selected-text-mac#create-your-first-selected-text-shell-action" class="hash-link" aria-label="Direct link to Create Your First Selected-Text Shell Action" title="Direct link to Create Your First Selected-Text Shell Action" translate="no">​</a></h2>
<ol>
<li class="">Open <strong>OnText Preferences → Actions</strong> and click <strong>+</strong>.</li>
<li class="">Set the title to <strong>Uppercase</strong> and choose <strong>Shell Script</strong> as the type.</li>
<li class="">Paste the command below into the command field.</li>
<li class="">Assign an available action key if you want to run it from the keyboard.</li>
</ol>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token builtin class-name">printf</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'%s'</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"</span><span class="token string variable" style="color:#36acaa">$ONTEXT_TEXT</span><span class="token string" style="color:#e3116c">"</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">|</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">tr</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'a-z'</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'A-Z'</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">|</span><span class="token plain"> pbcopy</span><br></span></code></pre></div></div>
<p>OnText runs shell commands with <code>/bin/zsh</code>. The selected text arrives in the <code>ONTEXT_TEXT</code> environment variable. This example uses the Mac's built-in <code>tr</code> and <code>pbcopy</code> commands to uppercase English ASCII letters and copy the result.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="try-it-with-a-concrete-input">Try It With a Concrete Input<a href="https://ontext.dev/blog/run-shell-script-selected-text-mac#try-it-with-a-concrete-input" class="hash-link" aria-label="Direct link to Try It With a Concrete Input" title="Direct link to Try It With a Concrete Input" translate="no">​</a></h2>
<p>Type this in an editable document, then select it:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">ship the next update</span><br></span></code></pre></div></div>
<p>Press <strong>F2</strong> or your configured trigger shortcut, then run <strong>Uppercase</strong>. Paste into the document to check the clipboard result:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">SHIP THE NEXT UPDATE</span><br></span></code></pre></div></div>
<p>The original selection stays unchanged until you paste. Once the action is configured, you can repeat the same selection → trigger → action rhythm with another phrase.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="paste-the-result-back-into-the-selection">Paste the Result Back Into the Selection<a href="https://ontext.dev/blog/run-shell-script-selected-text-mac#paste-the-result-back-into-the-selection" class="hash-link" aria-label="Direct link to Paste the Result Back Into the Selection" title="Direct link to Paste the Result Back Into the Selection" translate="no">​</a></h2>
<p>To replace the manual paste step, use this command instead:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token builtin class-name">printf</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'%s'</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"</span><span class="token string variable" style="color:#36acaa">$ONTEXT_TEXT</span><span class="token string" style="color:#e3116c">"</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">|</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">tr</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'a-z'</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'A-Z'</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">|</span><span class="token plain"> pbcopy </span><span class="token operator" style="color:#393A34">&amp;&amp;</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain">paste</span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>OnText's <code>{paste}</code> placeholder pastes the clipboard result back into the active app. Try it in an editable text field: select <code>ship the next update</code>, run the action, and the selected text becomes <code>SHIP THE NEXT UPDATE</code>. A read-only page can be a source for text capture, but you need an editable destination to replace text.</p>
<p>This is the kind of small automation OnText is built for: configure a useful command once, then keep using it close to your text. The command's own processing time still depends on what it does.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="keep-selected-text-separate-from-the-command">Keep Selected Text Separate From the Command<a href="https://ontext.dev/blog/run-shell-script-selected-text-mac#keep-selected-text-separate-from-the-command" class="hash-link" aria-label="Direct link to Keep Selected Text Separate From the Command" title="Direct link to Keep Selected Text Separate From the Command" translate="no">​</a></h2>
<p>Use <code>"$ONTEXT_TEXT"</code> with double quotes. That passes spaces, quotation marks, and other characters as text rather than inserting them into shell source. Use <code>printf '%s'</code> to preserve the input value.</p>
<table><thead><tr><th>Input you need</th><th>Shell value</th></tr></thead><tbody><tr><td>Selected text</td><td><code>"$ONTEXT_TEXT"</code></td></tr><tr><td>Selection captured through Copy</td><td><code>"$ONTEXT_TEXT_WITH_COPY"</code></td></tr><tr><td>Clipboard text</td><td><code>"$ONTEXT_CLIPBOARD"</code></td></tr><tr><td>First answer to a declared prompt</td><td><code>"$ONTEXT_PROMPT_1"</code></td></tr></tbody></table>
<p>Do not insert <code>{text}</code>, <code>{clipboard}</code>, or prompt input directly into shell command source. See the <a class="" href="https://ontext.dev/docs/user-guide/placeholders">placeholders reference</a> for prompt declarations and the other supported inputs.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="choose-the-right-tool-for-the-next-action">Choose the Right Tool for the Next Action<a href="https://ontext.dev/blog/run-shell-script-selected-text-mac#choose-the-right-tool-for-the-next-action" class="hash-link" aria-label="Direct link to Choose the Right Tool for the Next Action" title="Direct link to Choose the Right Tool for the Next Action" translate="no">​</a></h2>
<p>Use a shell action when a command-line tool already does the transformation you need. For example, you can trim text, format an identifier, or pass a selection to an existing local script.</p>
<p>Use a <a class="" href="https://ontext.dev/docs/user-guide/url-actions">URL action</a> for a search or app link, <a class="" href="https://ontext.dev/docs/user-guide/applescript">AppleScript</a> for app scripting, and a <a class="" href="https://ontext.dev/blog/macos-shortcuts-selected-text">Shortcut action</a> for an automation you maintain visually in Apple's Shortcuts app. Regex context rules control when an action appears for matching text; they do not replace the script that transforms it.</p>
<p>Read <a class="" href="https://ontext.dev/docs/user-guide/shell-scripts">Shell Scripts</a> for more commands, or <a class="" href="https://ontext.dev/docs/user-guide/custom-actions">Custom Actions</a> to configure action keys and context rules. New to OnText? Start with <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>.</p>]]></content:encoded>
            <category>Automation</category>
        </item>
        <item>
            <title><![CDATA[Mac Selected Text Actions with OnText]]></title>
            <link>https://ontext.dev/blog/selected-text-actions-mac</link>
            <guid>https://ontext.dev/blog/selected-text-actions-mac</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Select text on Mac and press F2 to copy, search, translate, or run a custom action with OnText. Learn how to change the shortcut and which actions work offline.]]></description>
            <content:encoded><![CDATA[<p>OnText is a Mac app for copying, searching, translating, and automating selected text. Select text in a supported app, press <strong>F2</strong> to open the action panel, then click an action or press its assigned key.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-to-run-an-action-on-selected-text">How to Run an Action on Selected Text<a href="https://ontext.dev/blog/selected-text-actions-mac#how-to-run-an-action-on-selected-text" class="hash-link" aria-label="Direct link to How to Run an Action on Selected Text" title="Direct link to How to Run an Action on Selected Text" translate="no">​</a></h2>
<ol>
<li class="">Grant OnText Accessibility permission in macOS System Settings.</li>
<li class="">Select a word or passage and press <strong>F2</strong> to open the floating panel.</li>
<li class="">Click an action in the panel or press its assigned key.</li>
</ol>
<p>OnText opens the panel when you press its trigger shortcut. To change <strong>F2</strong>, open <strong>Preferences → General → Behavior</strong> and set a new <strong>Trigger Shortcut</strong>. See <a class="" href="https://ontext.dev/docs/user-guide/keyboard-shortcuts">Keyboard Shortcuts</a>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-you-can-do-with-selected-text">What You Can Do With Selected Text<a href="https://ontext.dev/blog/selected-text-actions-mac#what-you-can-do-with-selected-text" class="hash-link" aria-label="Direct link to What You Can Do With Selected Text" title="Direct link to What You Can Do With Selected Text" translate="no">​</a></h2>
<p>OnText includes common actions out of the box:</p>
<ul>
<li class="">Search Google for the selected text in your default browser.</li>
<li class="">Copy it to the clipboard.</li>
<li class="">Open the selected text in Google Translate.</li>
<li class="">Count characters.</li>
<li class="">Show it in Large Type.</li>
</ul>
<p>For custom workflows, you can create actions that open URLs, run shell scripts, run AppleScript, trigger macOS Shortcuts, or send the text to Inline AI.</p>
<p>To set up a custom action, open <strong>Preferences → Actions</strong>, add an action, and choose its type. You can assign it a keyboard shortcut and an icon. A regex rule can make the action appear only when the selection matches a pattern. See <a class="" href="https://ontext.dev/docs/user-guide/custom-actions">Custom Actions</a>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="example-search-with-a-url-action">Example: Search With a URL Action<a href="https://ontext.dev/blog/selected-text-actions-mac#example-search-with-a-url-action" class="hash-link" aria-label="Direct link to Example: Search With a URL Action" title="Direct link to Example: Search With a URL Action" translate="no">​</a></h2>
<p>Create a URL action with this template:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">https://www.google.com/search?q={text}</span><br></span></code></pre></div></div>
<p>When you trigger the action, OnText URL-encodes the selected text and opens the search in your default browser.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="example-rewrite-with-inline-ai">Example: Rewrite With Inline AI<a href="https://ontext.dev/blog/selected-text-actions-mac#example-rewrite-with-inline-ai" class="hash-link" aria-label="Direct link to Example: Rewrite With Inline AI" title="Direct link to Example: Rewrite With Inline AI" translate="no">​</a></h2>
<p>Select a paragraph, open OnText, then use Inline AI with a prompt such as:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Rewrite this in a concise professional tone.</span><br></span></code></pre></div></div>
<p>Use <strong>Command-R</strong> to replace the original selection with the response, or <strong>Command-C</strong> to smart copy the result.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="when-this-workflow-fits">When This Workflow Fits<a href="https://ontext.dev/blog/selected-text-actions-mac#when-this-workflow-fits" class="hash-link" aria-label="Direct link to When This Workflow Fits" title="Direct link to When This Workflow Fits" translate="no">​</a></h2>
<p>Selected text actions work best when you repeat the same small operations many times a day:</p>
<ul>
<li class="">Searching terms while reading.</li>
<li class="">Translating snippets while researching.</li>
<li class="">Formatting text while writing.</li>
<li class="">Sending text into scripts, Shortcuts, notes, or AI prompts.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="frequently-asked-questions">Frequently Asked Questions<a href="https://ontext.dev/blog/selected-text-actions-mac#frequently-asked-questions" class="hash-link" aria-label="Direct link to Frequently Asked Questions" title="Direct link to Frequently Asked Questions" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="which-versions-of-macos-does-ontext-support">Which versions of macOS does OnText support?<a href="https://ontext.dev/blog/selected-text-actions-mac#which-versions-of-macos-does-ontext-support" class="hash-link" aria-label="Direct link to Which versions of macOS does OnText support?" title="Direct link to Which versions of macOS does OnText support?" translate="no">​</a></h3>
<p>OnText requires <strong>macOS 13.0 Ventura or later</strong>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-can-i-check-whether-ontext-works-in-a-specific-mac-app">How can I check whether OnText works in a specific Mac app?<a href="https://ontext.dev/blog/selected-text-actions-mac#how-can-i-check-whether-ontext-works-in-a-specific-mac-app" class="hash-link" aria-label="Direct link to How can I check whether OnText works in a specific Mac app?" title="Direct link to How can I check whether OnText works in a specific Mac app?" translate="no">​</a></h3>
<p>Select a short line of text in that app and press your OnText shortcut. Try <strong>Copy</strong> in the panel to check whether OnText captured the selection. If the panel does not appear, check Accessibility permission and the Excluded Apps list. See <a class="" href="https://ontext.dev/docs/user-guide/permissions">Permissions</a>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="which-ontext-actions-work-offline">Which OnText actions work offline?<a href="https://ontext.dev/blog/selected-text-actions-mac#which-ontext-actions-work-offline" class="hash-link" aria-label="Direct link to Which OnText actions work offline?" title="Direct link to Which OnText actions work offline?" translate="no">​</a></h3>
<p>Copy, Character Count, and Large Type run on your Mac and work offline. The default Search and Translate actions send selected text to Google in your browser. Custom actions that use a website, cloud AI provider, or other remote service may also send text or other request data to that service. See the <a class="" href="https://ontext.dev/privacy">Privacy Policy</a>.</p>
<p>If you are setting up OnText for the first time, follow <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="related-posts">Related Posts<a href="https://ontext.dev/blog/selected-text-actions-mac#related-posts" class="hash-link" aria-label="Direct link to Related Posts" title="Direct link to Related Posts" translate="no">​</a></h2>
<ul>
<li class=""><a class="" href="https://ontext.dev/blog/run-shell-script-selected-text-mac">Run Shell Script on Selected Text</a></li>
<li class=""><a class="" href="https://ontext.dev/blog/macos-shortcuts-selected-text">macOS Shortcuts with Selected Text</a></li>
<li class=""><a class="" href="https://ontext.dev/blog/ai-rewrite-selected-text-mac">AI Rewrite Selected Text on Mac</a></li>
<li class=""><a class="" href="https://ontext.dev/blog/translate-selected-text-mac">Translate Selected Text on Mac</a></li>
</ul>]]></content:encoded>
            <category>Workflows</category>
        </item>
        <item>
            <title><![CDATA[Translate Selected Text on Mac with OnText]]></title>
            <link>https://ontext.dev/blog/translate-selected-text-mac</link>
            <guid>https://ontext.dev/blog/translate-selected-text-mac</guid>
            <pubDate>Sat, 16 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Translate selected text on Mac with OnText using built-in actions, URL templates, and low-friction selected-text workflows.]]></description>
            <content:encoded><![CDATA[<p>OnText gives you a fast translation workflow for selected text on Mac. Instead of copying text, opening a translation site, pasting, and submitting, you can select text and trigger a translation action from the OnText panel.</p>
<p>The default flow is: select text, press <strong>F2</strong>, then run the translate action.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="built-in-translation-flow">Built-In Translation Flow<a href="https://ontext.dev/blog/translate-selected-text-mac#built-in-translation-flow" class="hash-link" aria-label="Direct link to Built-In Translation Flow" title="Direct link to Built-In Translation Flow" translate="no">​</a></h2>
<p>OnText includes a default translate action so you can get started immediately. It opens translation for the selected text using the configured URL workflow.</p>
<p>This is useful for:</p>
<ul>
<li class="">Reading documentation in another language.</li>
<li class="">Translating short research snippets.</li>
<li class="">Checking phrases while writing.</li>
<li class="">Moving quickly through multilingual web pages or notes.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="custom-translation-url">Custom Translation URL<a href="https://ontext.dev/blog/translate-selected-text-mac#custom-translation-url" class="hash-link" aria-label="Direct link to Custom Translation URL" title="Direct link to Custom Translation URL" translate="no">​</a></h2>
<p>You can also create your own URL action. A simple template looks like this:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">https://translate.google.com/?text={text}</span><br></span></code></pre></div></div>
<p>Use <code>{text}</code> where the selected text should be inserted. OnText handles URL encoding before opening the link.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="when-to-use-inline-ai-instead">When To Use Inline AI Instead<a href="https://ontext.dev/blog/translate-selected-text-mac#when-to-use-inline-ai-instead" class="hash-link" aria-label="Direct link to When To Use Inline AI Instead" title="Direct link to When To Use Inline AI Instead" translate="no">​</a></h2>
<p>Use translation actions when you want a quick translation page. Use <a class="" href="https://ontext.dev/docs/user-guide/inline-ai">Inline AI</a> when you want a more controlled rewrite, tone change, summary, or in-place replacement.</p>
<p>For example:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Translate this to English and keep the tone natural.</span><br></span></code></pre></div></div>
<p>Then use <strong>Command-R</strong> to replace the selected text, or <strong>Command-C</strong> to copy the response.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="next-steps">Next Steps<a href="https://ontext.dev/blog/translate-selected-text-mac#next-steps" class="hash-link" aria-label="Direct link to Next Steps" title="Direct link to Next Steps" translate="no">​</a></h2>
<ul>
<li class="">Learn the basics in <a class="" href="https://ontext.dev/docs/user-guide/first-steps">First Steps</a>.</li>
<li class="">Review <a class="" href="https://ontext.dev/docs/user-guide/default-actions">Default Actions</a>.</li>
<li class="">Create your own <a class="" href="https://ontext.dev/docs/user-guide/url-actions">URL Actions</a>.</li>
<li class="">Browse more <a class="" href="https://ontext.dev/blog">workflow guides</a>.</li>
</ul>]]></content:encoded>
            <category>Tips</category>
        </item>
    </channel>
</rss>