A macOS Quick Action that searches any selected text in Google AI Mode — right from the right-click menu or a keyboard shortcut. No more select → copy → new tab → paste → search.
Works in any app: browsers, PDFs, Mail, Notes, anywhere you can select text. Results open in a new tab of your default browser.
Select a word or sentence → right-click → Services → AI Quick Search → a Google AI Mode search for that text opens instantly.
Under the hood it's a native Automator Quick Action (no dependencies, no third-party apps): the selected text is URL-encoded by a small shell script and opened as https://www.google.com/search?udm=50&q=<your text>.
- Clone or download this repo.
- Double-click
AI Quick Search.workflow. - Click Install when macOS asks.
git clone https://github.com/YOUR_USERNAME/Quick_Google_AI_search.git
cd Quick_Google_AI_search
./install.sh- System Settings → Keyboard → Keyboard Shortcuts… → Services → Text
- Find AI Quick Search, click none, press your shortcut (e.g. ⌃⌘S).
- Select text anywhere → press the shortcut → done.
- Opens in your default browser (System Settings → Desktop & Dock → Default web browser).
- Handles any language, multi-line selections, and special characters.
- Google AI Mode uses
udm=50. If AI Mode isn't available for your account/region, Google falls back to normal results. To force regular web search, edit the script in Automator and changeudm=50toudm=14. - macOS may ask permission the first time it runs — click OK once.
rm -rf ~/Library/Services/"AI Quick Search.workflow"MIT