blondie Posted April 13, 2013 Share Posted April 13, 2013 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 More sharing options...
ileandros Posted April 13, 2013 Share Posted April 13, 2013 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 More sharing options...
blondie Posted April 15, 2013 Author Share Posted April 15, 2013 your right, i worked it out, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now