Results 1 to 2 of 2
  1. #1
    marko4452's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Serbia
    Posts
    209
    Reputation
    10
    Thanks
    55
    My Mood
    Cool

    Need help with a simple macro

    Can anybody tell me how can i make left mouse button trigger another keyboard key, and while the left mouse button is pressed the key on the keyboard is kept pressed too. Any help is much apperciated

  2. #2
    dkofek's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    The toilet in the club next to your house
    Posts
    59
    Reputation
    13
    Thanks
    114
    My Mood
    Bored
    just a thought.. (not sure how the model is being used.. since I program Java and never tried mouse/keyboard clicks)
    Code:
    while(m.MousePressed()){                  //while button is down do
           k.keyPress(KeyEvent.VK_Q);        //press Q (for example)
           wait(200);}                              //delay 200ms (change it as you wish)
    
    if(m.MouseClicked()){                        //if mouse was clicked (hold-release)
           k.keyPress(KeyEvent.VK_Q);}      //press Q
    hope I helped!

Similar Threads

  1. [Help Request] Please i need help with MACRO DARKSTORMX
    By fear9man in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 01-18-2012, 05:18 PM
  2. Need help with mouse macro
    By @Hunter in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 12-16-2011, 04:19 PM
  3. Need help with macro
    By epicowns in forum Vindictus Help
    Replies: 3
    Last Post: 05-11-2011, 05:40 PM
  4. [Help Request] Need help with numpad while recording macro !
    By JonathanTBM in forum Vindictus Help
    Replies: 2
    Last Post: 05-10-2011, 07:37 PM
  5. [Solved] New modder Need help with simple text input NOOB!!
    By rotceh_dnih in forum Call of Duty Black Ops GSC Modding Help & Discussion
    Replies: 3
    Last Post: 02-28-2011, 04:26 AM