同时按左右键应该怎么书写?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 同时按左右键应该怎么书写?

Re: 同时按左右键应该怎么书写?

Post by 575794124 » 17 Jan 2015, 07:11

wz520 wrote:应该没有真正的同时点击,所谓的同时点击都是有先后顺序的:
按住左键的同时按右键,再松开左键
按住右键的同时按左键,再松开右键

如果是前者的话,可以试试:

Code: Select all

Send {click left down}
Send {click right}
Send {click left up}
我也是这样解决的 不过左右键同步率不高 50%左右可以触发左右键同时点击

Re: 同时按左右键应该怎么书写?

Post by wz520 » 16 Jan 2015, 06:59

应该没有真正的同时点击,所谓的同时点击都是有先后顺序的:
按住左键的同时按右键,再松开左键
按住右键的同时按左键,再松开右键

如果是前者的话,可以试试:

Code: Select all

Send {click left down}
Send {click right}
Send {click left up}

同时按左右键应该怎么书写?

Post by 575794124 » 12 Dec 2014, 08:47

比如我要按下鼠标中间 模拟为同时点击左右键
MButton::
Loop
{
send {RButton & LButton}
send {click left & click right}
send {click left click right}
send {click left}
send {click right}
sleep 200
If (GetKeyState("MButton","P")=0)
Break
}
return
测试这几种都不行

Top