Close
Showing results 1 to 4 of 4

Thread: hotkey lbutton

Hybrid View

  1. #1

    Default hotkey lbutton

    Hi, I have this right now and it seems to work:
    Code:
    <Hotkey ScrollLockOn LButton>
        <If MouseIsOverScreenRect 1980 1250 495 120>
            <SendLabel w1, w2, w3, w4, w5>
               <ClickMouse LButton>
        <Else>
            <SendLabel w1>
               <ClickMouse>
        <EndIf>
    But really I want to get rid of the ScrollLock modifier and just use it at all times. What do I put in the else to have hkn just pass the mouse through and not mess with it when outside that region? As written you can't click and drag.

    The goal is to pass mouse clicks to the jamba item-use bar for all toons.

  2. #2

    Default

    Quote Originally Posted by dubiox View Post
    Hi, I have this right now and it seems to work:
    Code:
    <Hotkey ScrollLockOn LButton>
        <If MouseIsOverScreenRect 1980 1250 495 120>
            <SendLabel w1, w2, w3, w4, w5>
               <ClickMouse LButton>
        <Else>
            <SendLabel w1>
               <ClickMouse>
        <EndIf>
    But really I want to get rid of the ScrollLock modifier and just use it at all times. What do I put in the else to have hkn just pass the mouse through and not mess with it when outside that region? As written you can't click and drag.

    The goal is to pass mouse clicks to the jamba item-use bar for all toons.
    To remove the modifier, just remove the ScrollLock in the hotkey.

    You are not going to get mouse dragging to work, though. The mouse is going to move window to window very rapidly and complete an entire click {button down, button release}, HotKeyNet does not create multiple functioning pointers that are capable of controlling all the windows exactly at the same time.

    I'm not even sure why you'd need dragging in relation to the Jamba Item Bar. If it is configured correctly, whatever you do on the master's bar should be duplicated to the slaves. So if you drag an item off your master's bar, it should go through Jamba's channel and have the slaves also clear the item from their bars.

    This is my Jamba Item Use Bar code -

    Code:
    <Hotkey Oem4>
    	<If MouseIsOverWindowRect WoW1 1442 920 29 29>
    		<SendLabel w2, w3, w4, w5>
    			<Key Oem4>
    		<SendLabel w1, w2, w3, w4, w5>
    			<Key Ctrl Numpad1>
    	<Else If MouseIsOverWindowRect WoW1 1442 952 29 29>
    		<SendLabel w2, w3, w4, w5>
    			<Key Oem4>
    		<SendLabel w1, w2, w3, w4, w5>
    			<Key Ctrl Numpad2>
    	<Else If MouseIsOverWindowRect WoW1 1442 983 29 29>
    		<SendLabel w2, w3, w4, w5>
    			<Key Oem4>
    		<SendLabel w1, w2, w3, w4, w5>
    			<Key Ctrl Numpad3>
    	<Else If MouseIsOverWindowRect WoW1 1442 1013 29 29>
    		<SendLabel w2, w3, w4, w5>
    			<Key Oem4>
    		<SendLabel w1, w2, w3, w4, w5>
    			<Key Ctrl Numpad4>
    	<Else>
    		<SendLabel w2, w3, w4, w5>
    			<Key Oem4>

    Oem4 is my standard assist key. This is designed so that if my mouse is over the Jamba Item Bar when I press my assist key, the slaves will assist my master {Oem4} and then they will all trigger the hotkey {Ctrl Numpad*} - as assigned through the Jamba Keybindings - to use the item on the bar. I do NOT use simply clicking because that prevents me from being able to move or remove anything from the bar or selectively use something on just the master.

    Assign your Item Bar hotkeys under the Jamba section in Keybindings and use HotKeyNet to send the associated key for the region/bar, not mouse passing.
    Last edited by Khatovar : 05-02-2014 at 01:13 AM
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  3. #3

    Default

    Well I really tried to be clear but I failed. As written, you can't click and drag _outside the region_ when ScrollLock is on (or if I remove the modifier). So you can't move the camera or drive with both buttons. I would like to have normal mouse usage outside the region and not have to use a modifier at all inside the region. Sounds like that is not possible.

    I guess I can do something like control-shift-click which is less hassle than hitting scrolllock then clicking.

    Assign your Item Bar hotkeys under the Jamba section in Keybindings and use HotKeyNet to send the associated key for the region/bar, not mouse passing.
    Well sure that would be great but I can't come up with and remember 20 more hotkeys.
    Last edited by Khatovar : 05-03-2014 at 12:39 AM

  4. #4

    Default

    Quote Originally Posted by dubiox View Post
    Well I really tried to be clear but I failed. As written, you can't click and drag _outside the region_ when ScrollLock is on (or if I remove the modifier). So you can't move the camera or drive with both buttons. I would like to have normal mouse usage outside the region and not have to use a modifier at all inside the region. Sounds like that is not possible.
    This is because you've turned your left mouse button into a hotkey, removing its ability to act like a mouse key. You would need to redefine the entire function of the button to do what you're trying to do -

    Code:
    <Hotkey LButton>
        <If MouseIsOverScreenRect 1980 1250 495 120>
            <SendLabel w1, w2, w3, w4, w5>
               <ClickMouse LButton>
    		   <Else>
    		   <SendFocusWin>
    		   <ClickMouse LButton Down NoMove NoRestore>
    		   
    <HotkeyUp LButton> 
    			   <SendFocusWin>
    		   <ClickMouse LButton Up NoMove NoRestore>

    I guess I can do something like control-shift-click which is less hassle than hitting scrolllock then clicking.
    I would really advise against passing mouse clicks. Every time you pass the mouse you chance lagging your system as each window takes focus. This can leave your mouse "trapped" on a slave window and can cause a lot of head aches. It also requires that the UIs be exact in order for the mouseclick to land properly and that you not spam the key so it's not picking up coordinates off a slave window halfway through the pass cycle, which can also make the mouse Return to a slave window instead of the main window. Then you manually need to click the main window again to make it active.

    This is why it is advised that new multiboxers learn how to press Hotkeys instead of clicking the hotbars for DPS, no matter the multiboxing software. It's great for things like AOE or portal useage where it doesn't need to be exceedingly accurate or fast but sending keys is always the most efficient option since every window can receive the command at once rather than having to wait their turn/squabble over the limited resource of a single cursor.

    If you still want to use mouse passing, then skip the region and just use a toggle or modifier for universal mouse passing like the default OEM3 in the starter scripts {removing the ScrollLockOn} -

    Code:
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
    // THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU 
    // WANT TO BROADCAST.
    //-----------------------------------------------------------
    <UseKeyAsModifier Oem3>
    
    <Hotkey Oem3 LButton, MButton, RButton, Button4, Button5>
       <SendLabel w1, w2> 
          <ClickMouse %TriggerMainKey%>
    Well sure that would be great but I can't come up with and remember 20 more hotkeys.
    1 - you don't have to remember 20 keys, that's the entire point of the region definitions. The key sent changes based on your mouse's position in the region.

    2 - WoW can take any combination of the standard modifiers CTRL/ALT/Shift, which means you can have 1, Ctrl 1, Alt 1, Shift 1, Ctrl Alt 1, Ctrl Shift 1, Alt Shift 1 and Ctrl Alt Shift 1. WoW can also distinguish between left and right modifiers in macros, so you can have a single macro that covers multiple button modifiers just like an FTL Macro

    Code:
    /click [mod:lalt] JambaItemUseContainerButton1; [mod:ralt] JambaItemUseContainerButton2; [mod:lctrl] JambaItemUseContainerButton3; [mod:rctrl] JambaItemUseContainerButton4; [mod:lshift] JambaItemUseContainerButton5; [mod:rshift] JambaItemUseContainerButton5; [mod:lalt lctrl] JambaItemUseContainerButton6; [mod:ralt rctrl] JambaItemUseContainerButton7; [mod:lalt lshift] JambaItemUseContainerButton8; [mod:ralt rshift] JambaItemUseContainerButton9; [mod:lctrl lshift] JambaItemUseContainerButton10; [mod:rctrl rshift] JambaItemUseContainerButton11; ETC
    You would then simply configure the HotKeyNet code to send those modified keys to that macro in WoW, so rather than HKN sending Ctrl Numpad1, Ctrl Numpad2 etc, it is sending 1, LAlt 1, RAlt 1, LShift 1, LCtrl LShift 1.... based on the region your mouse is over. Nothing changes about the key you physically press no matter if you are triggering ItemBar1 or ItemBar20.

    3 - I have never needed more than 6 Item Bar slots at any given time. I've got them all keybound, but I've never needed to use anything above ItemBar6 and only have 4 slots actually showing.
    Last edited by Khatovar : 05-03-2014 at 02:40 AM
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

Posting Rules

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