开发者

AutoHotKey mapping

I am trying to map the following key combinations on my keyboard using开发者_开发百科 AutoHotkey -

Alt i -> Up Arrow Alt j -> Left Arrow Alt k -> Right Arrow Alt m -> Down Arrow

I added the following code to my AutoHotkey.ahk file -

!i::Up
!j::Down
!m::Left
!k::Right

but it doesn't produce the desired results. Please help!!


!i::SendInput,{UP}
!j::SendInput,{LEFT}
!k::SendInput,{RIGHT}
!m::SendInput,{DOWN} 


Jay's answer works, but

!i::Send {Up}
Return
!k::Send {Down}
Return
!l::Send {Right}
Return
!j::Send {Left}
Return

is a much faster solution.


I think a better approach is to use the freeware application TouchCursor http://touchcursor.sourceforge.net/overview.html It has training mode, is easier to configure. Also, I was surprised to learn that using 'space' rather than 'alt' works much better in practice.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜