Erik. Posted July 17, 2006 Share Posted July 17, 2006 Hi, For my program i want to this: Hotkeyset("\","popup") so when i press the / the mouse button must be clicked for 1 time normaly you want that teh program presses a button like hello ore something bu i want that it presses the mouse button where you click everything whit the right mouse button does someone know the code? send("?") I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Helge Posted July 17, 2006 Share Posted July 17, 2006 Hotkeyset("\","popup") While 1 Sleep(10) WEnd Func popup() MouseClick("left") EndFunc Link to comment Share on other sites More sharing options...
Briegel Posted July 17, 2006 Share Posted July 17, 2006 Hotkeyset("\","popup") While 1 Sleep(10) WEnd Func popup() MouseClick("left") EndFuncoÝ÷ Ûú®¢×¶§«¢+Ù5½ÕÍ ±¥¬ ÅÕ½ÐíÉ¥¡ÐÅÕ½Ðì¤ ...performed better for Erik Link to comment Share on other sites More sharing options...
Helge Posted July 17, 2006 Share Posted July 17, 2006 I think... MouseClick("right") ...performed better for Erik Hehe, I see it now. Ok..maybe it's time to get some sleep. Link to comment Share on other sites More sharing options...
Erik. Posted July 17, 2006 Author Share Posted July 17, 2006 Hi, Okej thanks for that. Now do i have 4 buttons on my mouse:P i have left,right left 2 right 2, middle,scroll how to do when i press the reight 2 that it presses the left button 8 times? I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
i386 Posted July 17, 2006 Share Posted July 17, 2006 (edited) Eh...what are you trying to do?:wacko: Edited July 17, 2006 by terrabyte Spoiler "...Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like.My crime is that of outsmarting you, something that you will never forgive me for." --The Mentor "Mess with the best, die like the rest!!" -Hackers "This above all to thine own self be true." -William Shakespeare "Corruption is only as corrupted as the individual makes it out to be." -i386 Link to comment Share on other sites More sharing options...
Briegel Posted July 17, 2006 Share Posted July 17, 2006 Hi, Okej thanks for that. Now do i have 4 buttons on my mouse:P i have left,right left 2 right 2, middle,scroll how to do when i press the reight 2 that it presses the left button 8 times?I don't know the '$s_hexKey' for right 2 but look at helpfile '_IsPressed' and 'MouseClick' and try out. Something like this could be the answer. If _IsPressed($s_hexKey[, $v_dll = 'user32.dll']) = 1 Then MouseClick ( "button" [, x, y [, clicks [, speed ]]] ) 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