我想创建一组分配给四个箭头键的鼠标移动,其中按键会单击并向左,向右,向上或向下拖动一个像素。起点是可变的。我不知道如何做到这一点。在问之前我给了它一种善意的尝试,但我真的需要请某人告诉我该怎么做。
谢谢, 埃伦
答案 0 :(得分:0)
#Persistent
^NumPadUp::
Send, {LButton Down}
MouseMove, 0, -1, 1, R ;Move the mouse one pixel Up
Send, {LButton Up}
Return
^NumPadDown::
Send, {LButton Down}
MouseMove, 0, 1, 1, R ;Move the mouse one pixel Down
Send, {LButton Up}
Return
^NumPadRight::
Send, {LButton Down}
MouseMove, 1, 0, 1, R ;Move the mouse one pixel to the right
Send, {LButton Up}
Return
^NumPadLeft::
Send, {LButton Down}
MouseMove, -1, 0, 1, R ;Move the mouse one pixel to the left
Send, {LButton Up}
Return