AutoHotkey Cookbook

Alt-F4 [ !F4 ] may be used to close a program. If you want that NOT to apply to a particular program, e.g. Notepad++:
            ;version = 201503121102
            ;author = alexx
            ; Press F6 to reload your script, and break any running loops
            F6::
                #SingleInstance force
                Reload
            return

            ; toggle bunny-hop feature by pressing, Ctrl-Alt-Shift-z
            ^!+z:: Hotkey, *~$Space, Toggle

            ; css.gamebanana.com/sripts5159 bunny-hop feature
            *~$Space::
                Sleep 5
                while not GETKeyState("F6", "P") loop {
                    GetKeyState, SpaceState, Space, P
                    If SpaceState = U
                        break
                    Sleep 1
                    Send, {Blind}{Space}
                } ; /while
            return

            /* 
               Rather than hammering your space-bar and wearing out your thumbs, 
               you can enable this piece of code to "bounce" the space-bar
               Ctrl-Alt-Shift-z toggles this feature off. [0]
            */

        
[0]It would be nice to have this Hotkey OFF by default and then toggle ON with ^!+z