Home > Software engineering >  Mouse_event put down, the up separate written does not perform the up, write can perform together
Mouse_event put down, the up separate written does not perform the up, write can perform together

Time:09-30

Mouse_event (MOUSEEVENTF_LEFTDOWN 丨 MOUSEEVENTF_LEFTUP, 0,0,0,0) such a run a left click, mouse_event (MOUSEEVENTF_LEFTDOWN, 0,0,0,0)
Mouse_event (MOUSEEVENTF_LEFTUP, 0,0,0,0) run this way would have been left key not to put does not perform according to the up, where is the problem? I just put the files in a computer running this problem, in your computer before the test is no problem,

CodePudding user response:

Sleep in the middle (10);

CodePudding user response:

reference 1st floor walkereklaw response:
middle Sleep (10);
its between me and Sleep (100), or not

CodePudding user response:

Use SendInput?

CodePudding user response:

refer to the second floor qq_39012674 response:
Quote: refer to 1st floor walkereklaw response:
middle Sleep (10);
its between me and Sleep (100), or not

Again big point,
Don't know the firewall will block,
Have a try,

CodePudding user response:

The
quoted zhao teacher reply: 3/f
use SendInput?
this I also tried, the same problems

CodePudding user response:

reference 4 floor walkereklaw response:
Quote: refer to the second floor qq_39012674 response:

Quote: refer to 1st floor walkereklaw response:
middle Sleep (10);
its between me and Sleep (100), or not

Again big point,
Don't know the firewall will block,
Have a try,
I change to 1000 or useless

CodePudding user response:

Reference AutoHotKey source code related fragments,
http://www.autohotkey.com
  • Related