Jump to content

MouseClick while manually holding shift


Recommended Posts

hello,

i got a problem. i made a script, i press a hotkey, it clicks somewhere, everything works.

untill i noticed that when i manually hold down shift it will no longer click.

here is what i tried:

while 1
send("{shiftup}")
HotKeySet("1", "test")

wend

func test()
blockinput(1)
send("{shiftup}")
MouseDown("left")
Sleep(50)
MouseUp("left")
blockinput(0)
endfunc

any tips?

thanks

Link to comment
Share on other sites

Your script is wrong all the way it is.

I am not sure what you are trying to do and how.

Do you want a running script that will wait until you press a hot key and then it will react?

Check the IsPressed function if so. Your above script must get stuck while trying to send shift up since you are holding it down.

I feel nothing.It feels great.

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...