Created
January 24, 2011 12:53
-
-
Save danielres/793175 to your computer and use it in GitHub Desktop.
This autohotkey script refreshes the browser window automatically when saving a file
This file contains hidden or 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
; USAGE: | |
; 1. Install autohotkey. | |
; 2. Install the Firefox extension "CSS Reloader". | |
; 3. Save this script anywhere on your computer. | |
; 4. Open your website in Firefox. | |
; 5. In this script, replace "Expresto - Mozilla Firefox" with the title of the Firefox window you want to auto-refresh. | |
; 6. Run this script, it stays in the backgound. | |
; 7. Edit your website inside your preferred text editor or IDE. | |
; 8. Now, save your work, but instead of ctrl+s, use ctrl+alt+s (or altgr+s) and see Firefox refreshing stylesheets automagically in the background. | |
; NOTES: | |
; You can replace {F9} by {F5} for a full page refresh. | |
; You may have to increase the sleep value from 900 miliseconds, or reduce it for more responsiveness. | |
^!s:: | |
Send ^s | |
Ifwinexist, Expresto - Mozilla Firefox | |
{ | |
Sleep, 900 | |
Controlsend,, {F9} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment