I need 2 codes :3

Discussion in 'Code Snippets and Tutorials' started by zippy, Mar 5, 2007.

  1. zippy

    zippy Level IV

    Joined:
    Nov 9, 2006
    Messages:
    879
    Likes Received:
    0
    i need to know if there any code that click with the wheel of the mouse

    and i need to know the code to make right click

    help = +rep
     
  2. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    right click
    Code (Text):
    1. clickmouse(112,123,false);
    scoll bar I will find this for you
    I acidentally put wrong code now it is right
    SendArrowSilent(Number);
    Will send an arrow key depending on the number in-between the brackets to the selected client.
    If there is a "0" in between the brackets it will send the up arrow key, if there is a "1" will send the right arrow key, if
    there is a "2" it will send the down arrow key, if there is a "3" will send the left arrow key.
     
  3. zippy

    zippy Level IV

    Joined:
    Nov 9, 2006
    Messages:
    879
    Likes Received:
    0
    true is left click, and i discovered (lol) that right is false :p

    anyway i still need the code of wheel
     
  4. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    I just posted it I changed my original post. That is for arrow keys but it does the same as the wheels
     
  5. zippy

    zippy Level IV

    Joined:
    Nov 9, 2006
    Messages:
    879
    Likes Received:
    0
    but i dont need the code to scroll, i need the codes to make a click, in firefox when you click with the whell, it open the page in a new tab, thats what i need @@

    hmmm maybe i can open in new tab with right click
     
  6. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    is there a key combo it it is enter and tab here it it
    Code (Text):
    1. keydown(9)
    2. keydown(13)
    3. Wait (10)
    4.  keyup(9)
    5. Keyup(13)
    6.  
    Look up the key codes or it could be
    Code (Text):
    1. OpenWebPage('www.google.com")
    try that[/code]
     
  7. zippy

    zippy Level IV

    Joined:
    Nov 9, 2006
    Messages:
    879
    Likes Received:
    0
    i made the form of right click, open new tab, and works well

    thanks for the code, might be useful at the future
     
  8. the_skip

    the_skip Level IV

    Joined:
    Dec 25, 2006
    Messages:
    2,354
    Likes Received:
    1
    Location:
    Indiana
    I am always glad to help
    I am not to sure of holding muliple keys at the same time though