Close
Showing results 1 to 8 of 8

Threaded View

Maddkow HKN Mouse Shift Modifiers 08-11-2011, 04:32 AM
Khatovar First, I'd want to know what... 08-11-2011, 05:33 AM
Freddie In this case, you can solve... 08-11-2011, 05:39 AM
Maddkow Khatovar - What I have my... 08-12-2011, 04:01 AM
Khatovar From your description, it... 08-12-2011, 05:20 AM
Maddkow It's not the 1 - 4 keys that... 08-12-2011, 06:07 AM
Khatovar Ok, I copied your script... 08-12-2011, 06:56 AM
Maddkow Works great now! Was really... 08-13-2011, 09:07 PM
  1. #3

    Default

    Quote Originally Posted by Maddkow View Post
    What happens is sometimes when I press shift button4, it will instead activate button4.
    In this case, you can solve the problem like this, provided that you hold down the shift key until HotkeyNet finishes clicking. In this case the trigger (what you do with your fingers) and the output (what you send to WoW) are the same.

    Code:
    <Hotkey NumLockOn Shift Button4, Button5>
       <SetLocal ClearModifiers off>
       <SendLabel w1, w2> 
          <ClickMouse %TriggerMainKey%>
    You can also make it work the way you tried except that you need to use SendWin or SendFocusWin (not SendWinM) to send the Shift events. Also, you only need to send Shift events once for both WoWs. And you may also need short delays between the key events and <ClickMouse>.

    Code:
    <Hotkey NumLockOn Shift Button4, Button5>
       <SendFocusWin>
          <KeyDown Shift>
          <Wait 20>  // MAY NOT BE NECESSARY
       <SendLabel w1, w2> 
          <ClickMouse %TriggerMainKey%>
       <SendFocusWin>
          <Wait 20> // MAY NOT BE NECESSARY
          <KeyUp Shift>
    Also, it won't auto run or anything...
    I don't know what you mean. If you mean that you want HotkeyNet to do something automatically when it starts up, write a command called "AutoExec."
    Last edited by Freddie : 08-11-2011 at 06:02 AM
    �Author of HotkeyNet and Mojo

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •