Stripped down version.
edit: forgot to say only tested on AHK_L branch.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#MaxHotkeysPerInterval 200
#SingleInstance force
SetCapslockState, AlwaysOff
myVERSION=0.4d
;Menu
Menu, Tray, NoStandard
Menu, Tray, Add, FN key:, Refreshing
Menu, Tray, Add, Capslock, Refreshing
Menu, Tray, Add
Menu, Tray, Add, Exit
Menu, Tray, Click, 1
Menu, Tray, Default, Capslock
Menu, Tray, Tip, LAffinScript %myVERSION%
Gosub *Capslock Up
return
;subs_____________________________________________
Refreshing:
Reload
return
Exit:
ExitApp
return
;Keys binds_____________________________________________
*Capslock:: ;Press to start the binds
Suspend Off
Pause Off
return
*Capslock Up:: ;release = bye
Suspend On
Pause On
return
;Mouse Keys
*W::MouseMove, 0, -10, 0, R
*A::MouseMove, -10, 0, 0, R
*S::MouseMove, 0, 10, 0, R
*D::MouseMove, 10, 0, 0, R
*R::Send {Blind}{WheelUp}
*F::Send {Blind}{WheelDown}
*Space::Send {Blind}{Click}
*Q::Send {XButton1}
*E::Send {XButton2}
;Media Keys
*P::Send {Media_Stop}
*[::Send {Media_Prev}
*]::Send {Media_Next}
*\::Send {Media_Play_Pause}
;IJKL = Arrows, HN = PG, M,= Home/end
*I::Send {Blind}{Up}
*J::Send {Blind}{Left}
*K::Send {Blind}{Down}
*L::Send {Blind}{Right}
*H::Send {Blind}{PgUp}
*N::Send {Blind}{PgDn}
*M::Send {Blind}{Home}
*,::Send {Blind}{End}
;Fx
*`::Send {Blind}{Escape}
*1::Send {Blind}{F1}
*2::Send {Blind}{F2}
*3::Send {Blind}{F3}
*4::Send {Blind}{F4}
*5::Send {Blind}{F5}
*6::Send {Blind}{F6}
*7::Send {Blind}{F7}
*8::Send {Blind}{F8}
*9::Send {Blind}{F9}
*0::Send {Blind}{F10}
*-::Send {Blind}{F11}
*=::Send {Blind}{F12}
*Backspace::Send {Blind}{Delete}
;blocking keys
*T::
*Y::
*U::
*O::
*G::
*`;::
*'::
*.::
*/::
return