Quick Google look-up of selected text

Press Alt+G after selecting the text

;Google lookup
!g::
OldClipboard:= Clipboard
Clipboard:= ""
Send, ^c ;copies selected text
ClipWait
Run http://www.google.com/search?q=%Clipboard%
Sleep 200
Clipboard:= OldClipboard
Return

 

Edit: Part of the script had been converted to a link and was not showing properly. I've now edited this.

Parents Reply Children
  • Unknown said:
    But perhaps also note that the weblook up tool on the appstore can do this already so if you wanted to have this ability to look things up in websites and have the result in Studio then it might be better for your purposes?

    multifarious.filkin.com/.../

    There is also another app on the appstore that can use the results as autosuggest so this might be even more useful!

    appstore.sdl.com/.../
     

    This is absolutely true and I was thinking about it yesterday, although I've stopped using Web Lookup because things were just too crowded with the new 2017 features and opening Web Lookup results on a second monitor always seemed awkward. With this script I can have the search run on a second monitor without interfering with Studio. Maybe that would be a variation or option that we could suggest for the Web Lookup app: the ability to run outside of Studio. But wait... I think that's what IntelliWebSearch does already. : )

    Anyway, it's nice to have as many tools as possible at our disposal!