Created
December 3, 2014 07:23
-
-
Save Zequez/e66afbfcce19f8740e32 to your computer and use it in GitHub Desktop.
Hotkey to reload Chrome Extensions with Autohotkey
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
; If someone wants to make a file watcher, you're very welcome to do so. | |
; This works pressing Alt+Shift+R | |
#SingleInstance force | |
SetTitleMatchMode RegEx | |
; You need to have the Extensions tab open in a separated window | |
; And then another window or tab with the page where you're testing your extension | |
; Change this to your testing page title | |
redirectWindowAfterReload = Title of your testing page - Google Chrome$ | |
; This will match the chrome://extensions page | |
extensionsPageTitle = ^Extensions | |
; Press Alt+Shift+R to reload Chrome extensions | |
+!r:: | |
WinGetTitle, CurrentWindowTitle, A | |
WinActivate, %extensionsPageTitle% | |
Send, ^r | |
; Uncomment the line below to go back to your text editor/IDE after reloading instead | |
; redirectWindowAfterReload := %CurrentWindowTitle% | |
WinActivate, %redirectWindowAfterReload% | |
Sleep 100 | |
Send, ^r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment