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