Rabu, 09 Maret 2011

Integration of Google Chrome in Mac OS X

Search in Google "the search function from the context menu always works with Safari, even if you set another browser as the default. However, can circumvent this error.

For this you have the Mac OS X's built-in tool Automator help increase. Making it possible to create a service, the context menu is displayed in then. For example, to Google Chrome and Safari not be used to search Google for, the script looks like this:


on run {input, parameters} tell application "Google Chrome" activate open location ("http://www.google.de/search?hl=de&source=hp&q =" & input) end tell end run

The entry in Automator is done as follows:


  1. Automator start
  2. 'Service' menu as a template
  3. Select sublibrary 'utility' and 'Run Applescript' in the column next to double.
  4. Now opens a window on the right.
  5. Enter the code above
  6. Save under a desired service name like 'search with Google Chrome'


This service will appear on the shortcut menu. However, it remains the existing entry 'Google Search', the Safari will open to receive. The same approach can also incorporate a service that performs the search on Youtube. Of course, this works not only with the Google search, but also with other vendors such as Bing or Yahoo. It is also possible to use a different browser instead of Chrome. The script must in this case with the program name be changed.

0 komentar:

Posting Komentar