copy a word / acronym into the clipboard and query Google ('define:abc') with Control-Windows-G
TC
Code:
#^g::
googleLinkStart = C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=define:
AutoTrim, On
searchTerm = %clipboard%
if searchTerm =
{
MsgBox, 48, Search Google Definition, No text in clipboard to define., 2
return
}
StringReplace, searchTerm, searchTerm, `r`n, +, all
StringReplace, searchTerm, searchTerm, %A_SPACE%, +, all
searchTerm = %googleLinkStart%%searchTerm%
Run, %searchTerm%
Return