AutoHotKey实现字母组合键代替上下左右

1.安装AutoHotKey软件

2.编写自己的.ank文件,我的如下为例:

!f::Send ^f ;查找 
!q:: !F4 ;退出 
!w::Send ^w ;关闭网页窗口 
!z::Send ^z
!x::Send ^x
!c::Send ^c
!v::Send ^v
!a::Send ^a
!s::Send ^s ;保存 
!/:: send ^/
return 
d & a::send,"da"
d & b::send,"db"
d & c::send,"dc"
d & e::send,"de"
d & f::send,"df"
d & g::send,"dg"
d & i::send,"di"
d & o::send,"do"
d & p::send,"dp"
d & q::send,"dq"
d & r::send,"dr"
d & s::send,"ds"
d & t::send,"dt"
d & u::send,"du"
d & v::send,"dv"
d & w::send,"dw"
d & x::send,"dx"
d & y::send,"dy"
d & z::send,"dz"
return
d & j::
send, {Down}
Return
d & k::
send, {Up}
Return
d & h::
send, {Left}
Return
d & l::
send, {Right}
Return
d & n::
send, {Home}
Return
d & m::
send, {end}
Return
d & 8::
run, http://www.weiwenda.xyz//blog/Index
Return
!n:: send +{home}
return
!m:: send +{end}
return
!h:: send +{Left}
return
!l:: send +{Right}
return
!k:: send {PgUp}
return
!j:: send {PgDn}
return
$d:: 
send,% GetKeyState("CapsLock","T")?"D":"d"
return
$+d:: send,% GetKeyState("CapsLock","T")?"d":"D"
Return

3.右键编译生成.exe文件

已经编译好的exe文件,百度网盘链接:https://pan.baidu.com/s/1qLEZFI8dAjoJ3SXBFSuYjA 密码:px2r

4.加入Windows自启动列表

  • 在运行里面输入: shell:startup
  • 打开之后把要启动的软件放进去即可

你可能感兴趣的:(效率神器)