Hi, with the informations you have given me in the PM, i came up with the following script:
Code:
//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
//-----------------------------------------------------------
// SUBROUTINE TO SET WINDOW POSITIONS AND SIZE
//-----------------------------------------------------------
<Command SetPip>
<TargetWin %2%>
<SetWinRect 900 700 300 240>
<TargetWin %1%>
<SetWinRect 0 0 1280 1024>
<TargetWin %2%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %1%>
<SetWinRegion 900 700 300 240>
<SetForegroundWin>
//-----------------------------------------------------------
// 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:\Program Files\World of Warcraft\WoW.exe" WoW1>
<LaunchAndRename Local "C:\Program Files\World of Warcraft\WoW.exe" WoW2>
<SetPip WoW1 WoW2>
//----------------------------------------------------------------
// TOGGLE PIP CONFIG WITH HOTKEY (F1)
//----------------------------------------------------------------
<Hotkey F1>
<Toggle>
<SetPip WoW2 WoW1>
<Toggle>
<SetPip WoW1 WoW2>
//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<KeyList MyList A-Z, 0-9, F2-F12, Enter, Tab, Oem4, Comma, Oem6 except W, A, S, D, Q, E, L>
<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2>
<Key %Trigger%>
<MovementHotkey up, down, left, right, space>
<SendLabel w1, w2>
<Key %Trigger%>
//-----------------------------------------------------------
// Pause will trigger HKN on/off
//-----------------------------------------------------------
<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 Oem3 LButton, MButton, RButton, Button4, Button5>
<SendLabel w1, w2>
<ClickMouse %TriggerMainKey%>
To make this work you might have to cutsomize two things:
1. I used the path 'C:\Program Files\World of Warcraft\WoW.exe' for starting WoW, if you installed WoW in a different directory, pleas change the path so that it points to the right on
2. In the <Command SetPip> the size and position of each window is defined, I used 1280x1024 for your 'main' (on position 0,0) and 300x240 on position 900 700 for the 'slave'. This (especialy the position/size of the 'slave') might not be ideal for you, and if not you would need to customize them. To do so you need to change the lines <SetWinRect 900 700 300 240> and <SetWinRegion 900 700 300 240>. For wich you might want to look on the <SetWinRect> and <SetWinRegion> reference pages.
(For a more detailed discription what to do, you might have a look here: http://www.hotkeynet.com/phpBB3/view...6&t=1351#p9180 where i answered nearly the same question)
For the general HKN startup, do the following:
1. Install HKN
2. run HKN in Adminmode (when asked if you want to use more than one pc, you safely can answer 'no')
3. load the script i posted into HKN
4. when the script is loaded, and no errors (red messages) are shown you can:
- with pressing 'ctrl + alt + l' simutaniosly start both WoWs
- with pressing F1 switch the window sizes
- with holding down the squiggle key and pressing a mouse button, broadcast mouseclicks
- with pressing 'pause' toggle HKN off/on
-by pressing a key defined in the Keylist broadcast it.
(5. Make sure you are running WoW in 'window-mode' and with an intenal resolution of 1280x1024)
I hope I could help you, if you need further instructions, simply ask!
Connect With Us