Jump to content

Unpress everything after blockinput


socap
 Share

Recommended Posts

I don't know if there is a way to unpress everything, unless you write such a function yourself. However such a function is not really needed since you can unpress anything you press. The best thing is to keep a track of which keys, or mouse buttons, are being held down and release them individually using Send and MouseUp etc...

Edited by czardas
Link to comment
Share on other sites

Is the mouse part correct?

No.

MouseDown is a command that sends "tell the computer I'm pushing down on the left mouse button". What you need to do is to read the status of the mouse button. Take a look at You need to use something like

...
if _WinAPI_GetAsyncKeyState($VK_LBUTTON) <> 0 then
...

when you test for the mouse.

Edited by JohnQSmith

Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...