Here is a quickie hotkey for when you don't have anything open to type into to select text etc.. and want to type in a string to search Google with the default browser. If the InputBox is closed via OK Button it sounds a tone as indication the browser is being launched.
I just added the snippet below to my general purpose ahk hotkey script.
I just added the snippet below to my general purpose ahk hotkey script.
Code: (autohotkey)
;Winkey g to search Google using default browser
#g::
InputBox,SearchVar,Google Search,Enter String for Google to Find
If (ErrorLevel)
return
;MsgBox I would search Google for %SearchVar%
Run, http://www.google.com/search?q=%SearchVar%
SoundPlay,*64
return








