0

我想创建一组分配给四个箭头键的鼠标移动,击键将单击并向左、向右、向上或向下拖动一个像素。起点将是可变的。我不知道如何做到这一点。在询问之前,我做了一种善意的尝试,但我真的需要请人告诉我如何去做。

谢谢,艾伦

4

1 回答 1

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
于 2013-05-10T19:43:58.320 回答