Close
Showing results 1 to 6 of 6

Threaded View

  1. #2

    Default

    Ok, first thing is you don't have a hole punched for your PiP, you've just forced your slave windows on top, which is not how you want to do things. It puts your master window as a background window, which means it's going to get crappy performance.

    The "Empty Hotkeys" messages are because you already defined F1 as a hotkey for your PiP. Removing F1 from the Hotkey definition will clear all of the errors. I'd also suggest using a Keylist instead of defining all those keys separately with a shift modifier.

    Don't define Space as a hotkey. It should be defined as a movement key, otherwise the key won't be sustained, which means it won't work for moving up in the air while flying or while swimming.

    On the same note, you have A-Z except WASD being sent. Q, E and X should also be excluded with at least X moved to the Movement keys. Q and E are strafe left and right, you will still want that ability on your master {I also use it on my slaves, so I define them as movement keys as well}. X is down, which you may need for swimming and flying on occasion.

    I would also add Esc as a key so you can access the game menu, cancel casting, clear targets, clear windows and whatever else you can use Esc for in the game.


    I'd also add a stop broadcasting toggle in there, just to make things easier. I use Pause.

    Here's the updated version of your script. NOTES ARE COMMENTED OUT AND IN BOLD RED. You should delete my notes before loading the script. -

    Code:
    //-----------------------------------------------------------
     // PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY. 
     //-----------------------------------------------------------
     <Hotkey ScrollLockOn Ctrl R>
     <SendPC local>
     <RenameWin "World of Warcraft" WoW1> 
     <RenameWin "World of Warcraft" WoW2>
     <RenameWin "World of Warcraft" WoW3>
     
     
     // SET PIP CONFIGURATION
     // Usage: <SetPip BigWindowName LittleWindowName>
     // This command is called by <Hotkey F1> which is defined below.
     //-------------
    <Command SetPip>
    	<TargetWin %2%>
    		<SetWinSize 600 300>
    		<SetWinPos  1300 515>
    	<TargetWin %3%>
    		<SetWinSize 600 300>
    		<SetWinPos  1300 215>
    	<TargetWin %1%>
    		<SetWinSize 1920 1080>
    		<SetWinPos 0 0>  // THIS IS ONLY HALF OF IT, YOU NEED THE NEXT PART, TOO
    	<TargetWin %2%>
    		<SetForegroundWin>
    		<UpdateWin>
    	<TargetWin %3%>
    		<SetForegroundWin>
    		<UpdateWin>
    	<TargetWin %1%>
    		<SetWinRegion 1300 215 600 600> // THIS IS THE HOLE YOU NEED TO PUNCH IN THE MAIN WINDOW
    		<SetForegroundWin>
    
     
     //------------
     // TOGGLE PIP CONFIG WITH HOTKEY
     //------------
     <Hotkey ScrollLockOn F1> // THIS IS WHERE YOU DEFINED F1
     <Toggle>
     <SetPip WoW1 WoW2 WoW3>
     <Toggle>
     <SetPip WoW2 WoW1 WoW3>
     <Toggle>
     <SetPip WoW3 WoW1 WoW2>
     
     
     // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
     //---------
     <Command LaunchAndRename>
     <SendPC %1%>
     <Run "C:\Program Files (x86)\World of Warcraft\WoW.exe">
     <RenameTargetWin %2%>
     <RemoveWinFrame>
     
     
     //----------
     // HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
     //----------
     <Hotkey ScrollLockOn Alt Ctrl L>
     <LaunchAndRename Local WoW1>
     <RemoveWinFrame>
     <LaunchAndRename Local WoW2>
     <RemoveWinFrame>
     <LaunchAndRename Local WoW3>
     <RemoveWinFrame>
     <SetPip WoW1 WoW2 WoW3>
     
     //-----------
     // DEFINE MAIL LABELS FOR SENDING KEY STROKES. 
     //-----------
     <Label w1 Local SendWinM WoW1>
     <Label w2 Local SendWinM WoW2>
     <Label w3 Local SendWinM WoW3> // YOU HAD A 4TH WINDOW DEFINED HERE. DELETED
     
     
     // HOTKEYS
     //--------------
    
    //FIRST, WE DEFINE A KEYLIST CALLED MYLIST INSTEAD OF USING HOTKEYS
    
     <KeyList MyList A-Z, 0-9, Period, Comma, Oem1, Oem2, NumPad0-Numpad9, NumPadEnter, F2-F12, Esc except W, A, S, D, J, Q, E, X>
    
    // F1 HAS BEEN DELETED FROM THE LIST SINCE IT'S ALREADY DEFINED. Q, E AND X HAVE BEEN ADDED TO THE EXCLUDE
    
    
    // NOW WE CAN DEFINE THE HOTKEYS AND MODIFIERS USING THE KEYLIST INSTEAD OF MAKING A WHOLE LIST FOR EACH MODIFIER
     
     <Hotkey ScrollLockOn MyList; ScrollLockOn Shift MyList>
    	  	 <SendLabel w1, w2, w3>
       	<Key %Trigger%>
    
    
     //---------------
     // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
     // ADD MORE KEYS IF YOU WANT. 
     //---------------
    
    // SPACE AND X ADDED TO THE MOVEMENT KEYS. ADD Q AND E IF YOU WANT THOSE KEYS TO PASS TO SLAVES FOR STRAFING.
    
     <MovementHotkey ScrollLockOn up, down, left, right, space, X> 
     <SendLabel w1, w2, w3> 
     <Key %Trigger%>
    
    // USE PAUSE TO TOGGLE BROADCASTING ON AND OFF WHEN TYPING IN THE CHAT WINDOW OR ANYTIME YOU DON'T WANT EVERYONE RESPONDING TO KEYSTROKES.
    
    //------------------
    //TOGGLE HKN MUTE
    //------------------
    <hotkey Pause>
    	<sendpc local>
    		<ToggleHotkeys>
    
    
     //-----------------------------------------------------------
     // 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 ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
     <SendLabel w1, w2, w3> 
     <ClickMouse %TriggerMainKey%>
    
    // SPACE DELETED BECAUSE IT SHOULD BE DEFINED IN MOVEMENTHOTKEY

    You might also want to take a look at my HotKeyNet guide in my sig for a better grasp of what's going on. It also contains links to tons of other HotKeyNet stuff.
    Last edited by Khatovar : 06-14-2012 at 12:32 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
  •