
;==Hansi's PockerLike AHK Script==

$XButton2::MButton

LAlt & k::AltTab
LAlt & j::ShiftAltTab

SetCapsLockState,AlwaysOff

;===SC15D等于AppsKey======

SC15D & e::
  send, {up}
return

SC15D & d::
  send {down}
return

SC15D & s::
  send {left}
return

SC15D & f::
  send {right}
return

SC15D & a::
  send, {Home}
return

SC15D & g::
  send {End}
return

SC15D & z::
  send ^{Home}
return

SC15D & w::
  send ^w
return

SC15D & q::
  send, !{F4}
return

SC15D & t::
  send, ^!{Tab}
return

SC15D & r::
  send, ^!+{Tab}
return

SC15D & x::
  send, +{Left}
return

SC15D & c::
  send, +{Right}
return

SC15D & v::
  send, +{End}
return

SC15D & i::
  Send, {PgUp}
return

SC15D & o::
  Send, {PgDn}
return

SC15D & j::
  Send, {Down}{Down}{Down}
return

SC15D & k::
  Send, {Up}{Up}{Up}
return

SC15D & m::
  send, {Del}
return

SC15D & n::
  send, {BS}
return

SC15D & Tab::
  send, #{Tab}
return

SC15D & .::
  send, 1.414213562jh
return

SC15D & ,::
  send, 18669276489{Enter}
return

SC15D & /::
  send, hansi-go@163.com
return

SC15D & RShift::
  send, 111
return


;鼠标左键加键盘的C，打开计算器
~LButton & C::run calc
~LButton & w::send ^w
~LButton & q::send !{F4}

CapsLock & s::
	send #{Left}
return
CapsLock & f::
	send #{Right}
return
CapsLock & e::
	send #{Up}
return
CapsLock & d::
	send #{Down}
return

;鼠标移动，带有Control移动的快，没有Control移动的慢

CapsLock & i:: 
if GetKeyState("control") = 1             
{                                                      
	MouseMove, 0, -150, 0, R                        
}          
else
{
	MouseMove, 0, -15, 0, R
}                                                                                  
return

;=======================
CapsLock & k:: 
if GetKeyState("control") = 1
{                                                      
	MouseMove, 0, 150, 0, R                        
}          
else
{
	MouseMove, 0, 15, 0, R
}                                                                                  
return    

CapsLock & j:: 
if GetKeyState("control") = 1             
{                                                      
	MouseMove, -150, 0, 0, R                        
}          
else
{
	MouseMove, -15, 0, 0, R
}                                                                                  
return    

CapsLock & l:: 
if GetKeyState("control") = 1             
{                                                      
	MouseMove, 150, 0, 0, R                        
}          
else
{
	MouseMove, 15, 0, 0, R
}                                                                                  
return    
;======鼠标左右键
CapsLock & u::send {LButton}
CapsLock & o::send {RButton}
;======
!^c::
	run, c:\cmder\cmder.exe
return 

!^n::
	run, C:\Program Files (x86)\Notepad++\notepad++.exe
return 

CapsLock & r::reload

