Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick_Google_AI_search

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.

How it works

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

Install

Option 1 — double-click

  1. Clone or download this repo.
  2. Double-click AI Quick Search.workflow.
  3. Click Install when macOS asks.

Option 2 — install script

git clone https://github.com/YOUR_USERNAME/Quick_Google_AI_search.git
cd Quick_Google_AI_search
./install.sh

Add a keyboard shortcut (optional)

  1. System Settings → Keyboard → Keyboard Shortcuts… → Services → Text
  2. Find AI Quick Search, click none, press your shortcut (e.g. ⌃⌘S).
  3. Select text anywhere → press the shortcut → done.

Notes

  • 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 change udm=50 to udm=14.
  • macOS may ask permission the first time it runs — click OK once.

Uninstall

rm -rf ~/Library/Services/"AI Quick Search.workflow"

License

MIT

About

shortcut for searching terms in google ai mode

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages