Close
Page 7 of 10 FirstFirst ... 5 6 7 8 9 ... LastLast
Showing results 61 to 70 of 92
  1. #61

    Default

    Glad to hear it, and you're welcome.
    �Author of HotkeyNet and Mojo

  2. #62

    Default

    Hey Freddie / Olipcs, I'm afraid I must come asking for help once again .

    I'm trying to set up both a FTL setup (with toggle hotkey) and mouseover healing from main to slave healer.

    I have it all working except for one part, which is only transmit the mouselocation if within a certain area.
    I know the command that does it, but I can't seem to find the correct way to put it in an IF statement without getting errors, because I'm already using If for the toggle FTL key.

    Here is the script I am using (which works, note some of the lines are commented out)

    Code:
    //-----------------------------------------------------------
    // FTL Setup
    //-----------------------------------------------------------
    
    <Template SendMasterAndSlave>
    	<SendFocusWin>
    		<Key %1%>
    	<Sendlabel %4%>                             //Remove this when activating the other commented lines
    //		<If MouseIsOverWindowRect WoW6 43 173 235 411>
    //			<Sendlabel %4%>
    			<SaveMousePos>
    			<ClickMouse NoClick NoRestore>
    			<Key %3% %2%>
    			<RestoreMousePos>
    //		<Else>
    //			<Sendlabel %4%>
    //			<Key %3% %2%>
    
    <EndTemplate>
    
    
    <Template SendLeaderless>
    	<Else If ActiveWinIs %4%>
    		<ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
    <EndTemplate>
    
    
    <Template FTL>
    	<Hotkey %1%> 
    		<If FTL_Toggle is 0>
    			<Sendlabel w1,w2,w3,w4,w5,w6,w7,w8,w9,w10>
    				<Key %1%>
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt lctrl" WoW06 "w1,w2,w3,w4,w5,w7,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl lctrl" WoW07 "w1,w2,w3,w4,w5,w6,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl" WoW08 "w1,w2,w3,w4,w5,w6,w7,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift lctrl" WoW09 "w1,w2,w3,w4,w5,w6,w7,w8,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl lctrl" WoW10 "w1,w2,w3,w4,w5,w6,w7,w8,w9"> 
    <EndTemplate>
    
    
    <ApplyTemplate FTL "1" "I">
    <ApplyTemplate FTL "2" "K">
    <ApplyTemplate FTL "3" "Plus">
    <ApplyTemplate FTL "4" "Minus">
    <ApplyTemplate FTL "5" "P">
    <ApplyTemplate FTL "6" "Period">
    <ApplyTemplate FTL "7" "Comma">
    <ApplyTemplate FTL "8" "U">
    <ApplyTemplate FTL "F" "Divide">
    <ApplyTemplate FTL "G" "Multiply">
    <ApplyTemplate FTL "R" "NumpadMinus">
    <ApplyTemplate FTL "T" "NumpadPlus">
    <ApplyTemplate FTL "V" "Oem7">
    <ApplyTemplate FTL "Oem3" "O">
    The bits commented out are what I would logically think is the correct way of putting the If statement in, however when I use them and come to compile it I get errors like "Else If can only follow If".
    I'm basically having trouble using more than one If, even though they shouldn't be nested within each other.
    I've tried putting EndIf in appropriate places, but can't seem to get it right. I don't think I entirely understand how the script parses.

    Any help would be appreciated!

  3. #63

    Default

    I try to answer this:

    First the above doesn't work, because you try to nest IFs inside each other (with calling SendMAsterAndSlave from SendLeaderless).

    But with a workaround this is fixable.
    But first I want to get straight what you realy want to achive:

    -Your current form of implementation trys to send the mouse-over-healing keys in an FTL-Style, like in your example:
    If WoW06 is the active window, the mouse is in the specific region and you press '1' , WoW6 would recieve '1' and all other WoWs would recieve the mousepos broadcasted followed by 'ralt lctrl I' .

    -Is this realy what you want? -I'm asking because for myself I have nearly an identic setup but with some differences:
    - my mouseover heals don't need FTL-sytle, because their target is based on the mouse-position not on the leader (so the mustn't know which window is active)
    - for me the mouse-broadcasting is only send to the healer
    - even when activated by an FTL key, my healer(s) get a different key than the slave key broadcasted.

    To clarify things and give you a custom solution maybe it would realy help me, if you could state a specific scenario (like 'When I press '1' on WindowX i want the follwoing to happen...).

    Meanwhile I try to get the above working (even wehn I think its not realy what you want).
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  4. #64

    Default

    Quote Originally Posted by 'olipcs',index.php?page=Thread&postID=207743#post2 07743
    -Is this realy what you want? -I'm asking because for myself I have nearly an identic setup but with some differences:
    - my mouseover heals don't need FTL-sytle, because their target is based on the mouse-position not on the leader (so the mustn't know which window is active)
    - for me the mouse-broadcasting is only send to the healer
    - even when activated by an FTL key, my healer(s) get a different key than the slave key broadcasted.

    To clarify things and give you a custom solution maybe it would realy help me, if you could state a specific scenario (like 'When I press '1' on WindowX i want the follwoing to happen...).

    Meanwhile I try to get the above working (even wehn I think its not realy what you want).

    So to custo
    Basically I like having the best of both worlds.

    When I'm not in the rectangle area required, I'd like my healer to heal whoever is being hit on. This requires a targettarget off the current leader, so it needs a FTL key.
    My healing macro looks like:

    Code:
    /click Bigasstargetmacro
    /cast [target=mouseover,help][target=targettarget,help][help] Greater Heal
    I don't really need the mousebroadcast to my dps guys, but it doesn't hurt since none of their macros use it. I eventually will have 2 healers in 10 mans though (I like to plan ahead ).

  5. #65

    Default

    ok I understand, so I sume up:
    - when the mouse is not in the specific area, you need an FTL-style-button for your heals
    - when the mouse is in the specific region, you heal by mouse over, so you don't need FTL-style

    Some questions I have are:
    - the key you use for healing, are the 'empty' for your dps-toons and your tank(s), so only the healers do something when they are pressed?
    - Do you need the mouse-over-healing from every-window or would one window (like the window of the tank) be enough?
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  6. #66

    Default

    meanwhile the script I came up with for the original problem described:

    Code:
    //--  ---------------------------------------------------------
    // FTL Setup
    //-----------------------------------------------------------
    
    // %1% Window
    // %2% Region
    // %3% Windows to broadcast the Mouse to (slaves)
    // %4% Master Key
    // %5% slave-Key
    // %6% window-identifier
    <Template SendMouseOverFTL>
       <Else If MouseIsOverWindowRect %1% %2%>
      	<SendFocusWin>
          	<Key %4%>
      	<SendLabel %3%>
          	<SaveMousePos>
    				<ClickMouse NoClick NoRestore>
    				<Key %6% %5%>
    				<RestoreMousePos>
    <EndTemplate>
    
     
    <Template FTLMouseOver>
    	<ApplyTemplate SendMouseOverFTL WoW06 "%3%" "w1,w2,w3,w4,w5,w7,w8,w9,w10" "%1%" "%2%" "ralt lctrl">
    		<ApplyTemplate SendMouseOverFTL WoW07 "%3%" "w1,w2,w3,w4,w5,w6,w8,w9,w10" "%1%" "%2%" "rshift rctrl lctrl">
    		<ApplyTemplate SendMouseOverFTL WoW08 "%3%" "w1,w2,w3,w4,w5,w6,w7,w9,w10" "%1%" "%2%" "rshift rctrl">
    		<ApplyTemplate SendMouseOverFTL WoW09 "%3%" "w1,w2,w3,w4,w5,w6,w7,w8,w10" "%1%" "%2%" "rshift lctrl">
    		<ApplyTemplate SendMouseOverFTL WoW10 "%3%" "w1,w2,w3,w4,w5,w6,w7,w8,w9" "%1%" "%2%" "rctrl lctrl"> 
    <EndTemplate>
              	
    <Template SendMasterAndSlave>
    	<SendFocusWin>
    		<Key %1%>
    	<Sendlabel %4%>
    		<Key %3% %2%>
    <EndTemplate>
    
    
    <Template SendLeaderless>
    	<Else If ActiveWinIs %4%>
    		<ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
    <EndTemplate>
    
    
    <Template FTL>
    	<Hotkey %1%> 
    		<If FTL_Toggle is 0>
    			<Sendlabel w1,w2,w3,w4,w5,w6,w7,w8,w9,w10>
    				<Key %1%>
    		<ApplyTemplate FTLMouseOver "%1%" "%2%" "%3%"> 
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt lctrl" WoW06 "w1,w2,w3,w4,w5,w7,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl lctrl" WoW07 "w1,w2,w3,w4,w5,w6,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl" WoW08 "w1,w2,w3,w4,w5,w6,w7,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift lctrl" WoW09 "w1,w2,w3,w4,w5,w6,w7,w8,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl lctrl" WoW10 "w1,w2,w3,w4,w5,w6,w7,w8,w9"> 
    <EndTemplate>
    
    
    <ApplyTemplate FTL "1" "I" "43 173 235 411">
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  7. #67

    Default

    and here a customization of the above to reflect your needs better:

    Code:
    //--  ---------------------------------------------------------
    // FTL Setup
    //-----------------------------------------------------------
    
    // %1% Window
    // %2% Region
    // %3% Windows to broadcast the Mouse to (healers)
    // %4% Key the healers should recieve
    <Template SendMouseOverFTL>
       <Else If MouseIsOverWindowRect %1% %2%>  	
      	<SendLabel %3%>
          	<SaveMousePos>
    				<ClickMouse NoClick NoRestore>
    				<Key %4%>
    				<RestoreMousePos>
    <EndTemplate>
    
    // %1% : Key to broadcast
    // %2% : Region
    // %3% : Windows to broadcast the Mouse to (healers)
    <Template FTLMouseOver>
    	<ApplyTemplate SendMouseOverFTL WoW06 "%2%" "%3%" "%1%">
    		<ApplyTemplate SendMouseOverFTL WoW07 "%2%" "%3%" "%1%">
    		<ApplyTemplate SendMouseOverFTL WoW08 "%2%" "%3%" "%1%">
    		<ApplyTemplate SendMouseOverFTL WoW09 "%2%" "%3%" "%1%">
    		<ApplyTemplate SendMouseOverFTL WoW10 "%2%" "%3%" "%1%"> 
    <EndTemplate>
              	
    <Template SendMasterAndSlave>
    	<SendFocusWin>
    		<Key %1%>
    	<Sendlabel %4%>
    		<Key %3% %2%>
    <EndTemplate>
    
    
    <Template SendLeaderless>
    	<Else If ActiveWinIs %4%>
    		<ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
    <EndTemplate>
    
    // %1% master key
    // %2% slave key
    // %3% mouse-over-region
    // %4% windows to broadcast the mouseover to
    <Template MouseOverFTL>
    	<Hotkey %1%> 
    		<If FTL_Toggle is 0>
    			<Sendlabel w1,w2,w3,w4,w5,w6,w7,w8,w9,w10>
    				<Key %1%>
    		<ApplyTemplate FTLMouseOver "%2%" "%3%" "%4%"> 
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt lctrl" WoW06 "w1,w2,w3,w4,w5,w7,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl lctrl" WoW07 "w1,w2,w3,w4,w5,w6,w8,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift rctrl" WoW08 "w1,w2,w3,w4,w5,w6,w7,w9,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift lctrl" WoW09 "w1,w2,w3,w4,w5,w6,w7,w8,w10">
    		<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl lctrl" WoW10 "w1,w2,w3,w4,w5,w6,w7,w8,w9"> 
    <EndTemplate>
    
    
    <ApplyTemplate MouseOverFTL "1" "I" "43 173 235 411" "w3,w7">
    Here with <ApplyTemplate MouseOverFTL "1" "I" "43 173 235 411" "w3,w7"> you would define an mouse-over-ftl-key (with toggle on_of) which does the following when '1' is pressed:

    1. If FTL_Toggle is 0 simply send '1' to all ten WoWs
    2. If the mouse is over the region '43 173 235 411' of window WoW6-WoW10, 'I' is send to WoW3 and WoW7 (your healers ;) )
    3. it acts like a normal FTL key

    For this to work good I would make one little change to your healing macro, so that it only uses the mouseover-target when it was activated directly (by a simple 'I'),and not by an FTL key. (Compensating for the fact, that currently when your mouse on one of the healers is over an Unitframe, and 'I' is activated by the normal FTL it would result in the mouse-over-target to be healed, not the targettarget)

    Code:
    /click Bigasstargetmacro
    /cast [target=mouseover,help,nomod][target=targettarget,help][help] Greater Heal
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  8. #68

    Default

    Olipcs, you are a genius!

    That script works 99%. The only problem I'm having now is my priest seems to have a 'phantom' leftover mouse. So as soon as I use the mouseover broadcasting once, the priest keeps the mouse in that position, so every subsequent cast (that does not include a mouseover) is still considered a mouseover. It looks like <RestoreMousePos> is not being sent, but I can't figure out why.

    Ok, it's almost 3am, and I have work in the next 6 hours, so I'll have to continue this tomorrow.

    Thanks a ton for your help!!!

    Edit: Hmm, just read your next reply, is that always the case, do all WoW windows always leave a 'phantom' mouse after using mouse broadcasting. If that's the case, having a different key sent over is a must.

  9. #69

    Default

    glad I could help :)
    Edit: Hmm, just read your next reply, is that always the case, do all WoW windows always leave a 'phantom' mouse after using mouse broadcasting. If that's the case, having a different key sent over is a must.
    I can't say if it's allways the case, but I think I had the same problem when I first implemented my mouseover-healing, and the simplest solution for me was to use a different key (or modifier combination not used in the ftl) to get around it (and don't care about save-mouse/restore-position at all).
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  10. #70

    Default window stuffs not working

    Hey all.
    First: awesome tutorial.

    Second: I am having an issue with the reseizeandposition function
    Launchandrename opens them all just fine.
    Then they resize and get rid of the border.
    But then they all resize to 1920x1200 and I don't have pips.
    I can switch between them, but they all are simply full screen without the pips.

    I am using Windows 7 x64.
    Here's my script:
    Code:
    <Command ResizeAndPosition>
       <SendPC Local>
           <SendWin %1%>
              <SetWinSize 1920 1200>
              <SetWinPos 0 0>
              <SetWinRegion 160 1620 300 200>
              <SetWinRegion 560 1620 300 200>
              <SetWinRegion 960 1620 300 200>
              <SetWinRegion 1360 1620 300 200>
          <SendWinM %2%>
              <SetWinSize 300 200>
              <SetWinPos 160 1620>     
          <SendWinM %3%>
              <SetWinSize 300 200>
              <SetWinPos 560 1620>     
          <SendWinM %4%>
              <SetWinSize 960 1620>
              <SetWinPos 1920 0>     
         <SendWinM %5%>
               <SetWinSize 1460 1620>
               <SetWinPos 1920 512>
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
       <SendPC %1%>
      <Run %2%>
      <RenameTargetWin %3%>
      <RemoveWinFrame>
      <SetAffinity %4%>
    
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES.
    //-----------------------------------------------------------
    <Label w1 Local SendWinM WoW1>
    <Label w2 Local SendWinM WoW2>
    <Label w3 Local SendWinM WoW3>
    <Label w4 Local SendWinM WoW4>
    <Label w5 Local SendWinM WoW5>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS while 5 boxing
    // Please configure the Path and processor afinitys correctly
    //-----------------------------------------------------------
    <Hotkey Alt Ctrl L>
    <LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft\wow.exe" WoW1 1>
    <LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft - Copy\wow.exe" WoW2 1>
    <LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft - Copy\wow.exe" WoW3 1>
    <LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft - Copy\wow.exe" WoW4 1>
    <LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft - Copy\wow.exe" WoW5 1>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    
    <MovementHotkey up, down, left, right>
           	<SendLabel w1, w2, w3, w4, w5>
            	<Key %Trigger%>
    <hotkey pause>
    	<sendpc local>
    	<ToggleHotkeys>
    <KeyList MyList A-Z, 0-9, Enter, Tab, Oem4, Space, Comma, Oem6 except W, A, S, D, Q, E, L>
    
    <Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
    //<Hotkey AllMainKeys; Shift AllMainKeys; Ctrl AllMainKeys; Alt AllMainKeys>
      	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
       <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <Hotkey F2>
       <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <Hotkey F3>
       <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <Hotkey F4>
       <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <Hotkey F5>
       <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>

Similar Threads

  1. Replies: 15
    Last Post: 03-18-2012, 08:42 AM
  2. Lotro Dual-Boxing Howto
    By KrunkTheMadMan in forum New Multi-Boxers & Support
    Replies: 2
    Last Post: 04-02-2009, 02:27 AM
  3. 2 Boxing, 1-60 guide RAF guide?
    By pinnacle2009 in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 03-18-2009, 07:59 PM
  4. Beginners Guide 2 Dual-Boxing (3,4,5 boxing)
    By piejoh77 in forum New Multi-Boxers & Support
    Replies: 78
    Last Post: 03-12-2009, 03:17 AM
  5. Dual-Boxing / Multi-Boxing leveling guide
    By Ziie in forum General WoW Discussion
    Replies: 3
    Last Post: 09-06-2007, 12:45 PM

Posting Rules

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