Jump to content

Send key mouse 1?


Recommended Posts

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

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

:D Eh...what are you trying to do?:D:wacko: Edited 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

 

style7,AutoIt.png

 

 

Link to comment
Share on other sites

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

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