Created
September 9, 2017 19:23
-
-
Save nod5/210ddbdb46c91eddf7e6c29bcf617801 to your computer and use it in GitHub Desktop.
Autohotkey script. New SumatraPDF hotkey: ctrl+B to Google search selected text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;New SumatraPDF hotkey: ctrl+B to Google search selected text | |
#IfWinActive, ahk_exe SumatraPDF.exe | |
^b:: | |
ControlGetFocus, contr, A | |
if contr ;skip if editbox has focus | |
return | |
clipboard = | |
send ^c | |
clipwait, 1 | |
if clipboard | |
Run https://www.google.com/search?q=%clipboard% | |
return | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment