Last active
December 14, 2015 16:58
-
-
Save iaian/5118552 to your computer and use it in GitHub Desktop.
Autohotkey : if IE is active window map ctrl + u to IE alt+v+c
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
SetTitleMatchMode, Fast | |
^u:: ; Hit ctrl+u over IE to show page source | |
WinGetActiveTitle, MyTitle | |
If (RegexMatch(MyTitle, "i)(.*)Windows Internet Explorer")) ; If windows internet explorer is found at the end of the window title | |
{ | |
;run macro for showing source code | |
Send {Alt} | |
;delay prevents timing issues | |
SetKeyDelay, 200 | |
Send v | |
Send c | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works for me and doesn't seem to interfere with any other apps: