Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Google selected text in Safari via the keyboard Web Browsers
I'm not sure if this has been posted before, but a quick search didn't turn up any matches, so here's the hint...

If you select some text in Safari and then press Command-Shift-L, Safari will open a new tab (or window, depending on if tabs are enabled in your preferences) with the Google search results for your selected text.

[robg adds: An earlier hint covered Google-searching on selected text via the contextual menu, but didn't mention a keyboard shortcut. I check Safari's Keyboard shortcut list, and command-shift-L is shown as blank, so this appears to be a hidden shortcut...]

[robg apology addendum: As has been pointed out in the comments, this is just Safari's built-in Search service -- sorry for the "obvious hint" posting ...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[9,131 views]  

Google selected text in Safari via the keyboard | 23 comments | Create New Account
Click here to return to the 'Google selected text in Safari via the keyboard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Google selected text in Safari via the keyboard
Authored by: gboudrea on Mar 01, '04 10:45:59AM

Command-Shit-L doesn't work in here. I got the Google Search contextual-menu item though.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: pembery on Mar 01, '04 11:27:41AM

This is just part of the services menu for me - cmd-shift-L works in any application. As long as text is highlighted.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: acalado on Mar 01, '04 01:19:54PM

Try opening the "Safari" --> "Services" sub-menu. It didn't work for me either, then I went to this menu to see if the shortcut showed up next to the "Search With Google" service and the keyboard shortcut started working after that.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: wuf810 on Mar 01, '04 10:47:30AM

doesn't work for me. which version of safari?



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: SJT on Mar 01, '04 11:27:24AM

didn't work for me initially either, but then I clicked the Debug menu (without selecting anything) and tried it again and it worked.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: swanksalot on Mar 01, '04 11:26:50AM

Safari 1.2/10.3.2: this hint works



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: brandonarbini on Mar 01, '04 11:30:21AM

You'll find this shortcut in your services menu.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: vondrix on Mar 01, '04 11:58:00AM

The command-shift-L shortcut works in every application, as it is located in the Services menu. The problem is that the services menu is dynamically generated, so you need to open the service menu once so all the entries are generated. Then the shortcut will work.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: maniac on Mar 01, '04 12:12:27PM

'Search With Google' and many other services items are greyed out in the Services menu in Safari. Any idea why?



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: brw3sbc on Mar 01, '04 12:25:28PM

Had you highlighted some text first (i.e. something on which you wish Google to search)?



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: osxpounder on Mar 01, '04 12:39:14PM

Yup, that's what did it for me. I've never messed with the Debug menu [don't know about it; don't care], but, after I once pulled up the Services menu in Safari v125, this hint worked for me.

---
--
osxpounder



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: Bigc on Mar 01, '04 12:35:33PM

Doesn't seem to work if you check Block Pop-Up Windows...



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: osxpounder on Mar 01, '04 12:41:55PM

I do have Block Pop-Ups enabled, yet it worked for me.

---
--
osxpounder



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: NeutronMonk on Mar 01, '04 02:17:55PM

osxpounder- the debug menu in Safari allows the browser to be "seen" as other browsers- i.e., IE 6 for windows- which will allow it to access sites, like some banking sites, that require that you use IE. Select "User Agent" under the debug menu. I have found this extremely handy.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: osxpounder on Mar 01, '04 06:04:05PM

Thanks, Neut. I don't know how to enable the Debug menu, but don't explain--I'm sure it's elsewhere on this site. I saw it discussed, and, for now, I have the luxury of Macs AND PCs, so if I encounter a site that requires IE, or whatever, I can just scoot over the to PC and go there.

Like someone else said, I don't want Safari to go around giving web masters the idea that I'm using IE. If it doesn't work in Safari, I let them know [if it's important to me].

---
--
osxpounder



[ Reply to This | # ]
the question is-
Authored by: syko on Mar 01, '04 04:14:04PM

how do you get the results to pop up in Camino instead of Safari? (camino IS the default browser, btw)



[ Reply to This | # ]
Short answer: you can't
Authored by: stewby on Mar 02, '04 01:38:51PM

Since it's a Safari service, not something that's part of the system itself, there's no reason for it to respect the choice of default browser--In fact, there probably isn't any way for there to be a version of this that works with an arbitrary broswer, since it would require them all to acknowledge the same scriptable command to open a URL (I believe).

So unless Camino makes a search service, there's no way to do this and have it open in Camino.



[ Reply to This | # ]
An easier way perhaps...
Authored by: jaserc on Mar 01, '04 04:22:40PM

This is what I do to make a highlighted Safari text open in a new tab (not window) and be searched by Google.

#1 Select text
#2 Hold down the Apple key
#3 Right mouse click and select "Google Search"

Please note, if you right mouse click BEFORE holding the Apple Key and select "Google Search" then your CURRENT PAGE will go to Google. So you gotta select text, hold Apple Key, THEN right mouse click... if you want it in a new tab.

Anyway, it works for me. I'm a newbie, so nobody slam me too hard.

Jase Sibley



[ Reply to This | # ]
An easier way perhaps...
Authored by: osxpounder on Mar 01, '04 06:21:39PM

Jase,

This works for me if I use the "control" key, but not the Apple key. Perhaps you meant the control key? Anyway, that's how it's working for me, so if other folks out there tried Apple-clicking: try a CTRL-click.

---
--
osxpounder



[ Reply to This | # ]
An easier way perhaps...
Authored by: PancakeMan on Mar 02, '04 12:09:47PM
Are you right-clicking? I get this working with Cmd and Ctrl (and a normal click). Since Ctrl-click usually = right-click, I assume that's why I need Ctrl (with my one-button trackpad). And the Cmd part sends the search results to a new tab (just as Cmd-click by itself opens a link in a new tab).

[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: chancer on Mar 01, '04 10:36:19PM

Doesn't work for me either. The item in the Services menu works fine, but there's no keyboard shortcut listed next to it. I even tried creating a command shift L shortcut in Keyboard preferences, but it still didn't work. I guess I'll keep using the contextual menu item. I'm using the latest Panther and Safari. I upgraded to Panther instead of doing a fresh install...wonder if that's the problem.

By the way, anyone besides me feel like the items in the services menu are hard to mouse to? It would be so great if we had the option to put whatever relevant ones we wanted in the application toolbar. Like a button in the safari toolbar to email the current selection. Or failing that, put more of them in a contextual menu at least.



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: Zo-1 on Mar 02, '04 12:14:10AM

Mousing to the Services entry sucketh. Two solutions: (I don't script) Services, by Blacktree,com, allows toggling a service on and off, and - this is cool - assigning keyboard shortcuts.

In addition, ICeCoffEE, an APE from web.sabi.net/nriley/sofware, offers both an optional both a menubar Services menu, and - my personal fave - a Services contextual menu submenu. Couple that with Ittec and the X desktop almost works!



[ Reply to This | # ]
Google selected text in Safari via the keyboard
Authored by: Mr Clicky on Mar 03, '04 03:26:19AM

Echo the comment that you must disable 'Block Pop-up Windows' before this works (10.2.3 | 1.2)



[ Reply to This | # ]