Skip to main content
Added details from referenced answer.
Source Link
Alper
  • 4.1k
  • 1
  • 13
  • 30

ThisThe below worked for me. It shows how to create your own service that is independent of Safari.  

1. Open Automator and choose the Service template
2. Add a Run Shell Script action for a script like `open "http://www.google.com/search?q=$(ruby -rcgi -e 'print CGI.escape $<.read.chomp')"`
3. Save the service and assign it a shortcut from System Preferences

https://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google

This worked for me. It shows how to create your own service that is independent of Safari.  https://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google

The below worked for me. It shows how to create your own service that is independent of Safari.

1. Open Automator and choose the Service template
2. Add a Run Shell Script action for a script like `open "http://www.google.com/search?q=$(ruby -rcgi -e 'print CGI.escape $<.read.chomp')"`
3. Save the service and assign it a shortcut from System Preferences

https://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google

replaced http://superuser.com/ with https://superuser.com/
Source Link

This worked for me. It shows how to create your own service that is independent of Safari. http://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google

This worked for me. It shows how to create your own service that is independent of Safari. https://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google

Source Link
David
  • 61
  • 1
  • 1

This worked for me. It shows how to create your own service that is independent of Safari. http://superuser.com/questions/369934/mac-os-x-lion-chrome-shortcut-for-search-with-google