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
  • Jesus Prieto said:

    Hi Ivan,

    Ivan: Nora's shortcut is ALT+F, not ALT+G.

    Also, in my machine I needed to wait 4 seconds before pasting the text to make work. This works for me:

    […]

    Run www.freetranslation.com/search

    Sleep 4000

    […]

    … Jesús Prieto …

     

    Yes, Alt+F for freetranslation.com and Alt+G for Google. And I also find that increasing the wait times usually solves many of my problems in AHK. : )