1
我希望我的autohotkey脚本有一次鼠标点击,我按Shift + 3键在我的键盘上,忽略按住Shift键。AutoHotkey - 忽略按键
例如,我已经以这种方式尝试过:
+3::
SetMouseDelay, 0
MouseGetPos, xpos, ypos
Send {Shift Up}
BlockInput, on
Send {Shift Up}
MouseClick, right, uhxpos, uhypos
Sleep, 41
MouseClick, left, yourxpos, yourypos
MouseMove, xpos, ypos
BlockInput, off
return
甚至试图再次等待换挡物理释放,仍然没有成功;
+3::
SetMouseDelay, 0
MouseGetPos, xpos, ypos
KeyWait, +
MouseClick, right, uhxpos, uhypos
Sleep, 41
MouseClick, left, yourxpos, yourypos
MouseMove, xpos, ypos
return
希望有任何帮助,谢谢。的
所以,你按住shift *而*您推'shiftf3'?或者,你是否希望程序在*你推动'shiftf3'后运行*,但是尽管可能存在按下换档的可能性? – bgmCoder
也许你正在以这种错误的方式去做。你试图通过阻止'shift'来完成什么? – bgmCoder