Sign in to follow this  
Followers 0
blondie

MouseClick while manually holding shift

3 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

your right, i worked it out, thanks

Share this post


Link to post
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
Sign in to follow this  
Followers 0