PDA

View Full Version : 5 boxing on one box



PineBeach
07-15-2010, 08:50 AM
A few days ago I started 5 boxing for the first time, just on one machine though. I have five windows open on the screen and swtich between them to control the characters during combat. Out of combat I use macros to set the focus of each character and then to follow the one with the focus.

I've found it quite challenging to control five characters at once but I think I'm getting better at it and I really enjoy it.

Each time I start playing I open all the instances of wow, then resize the windows, then login, I've been experimenting with a few different resolutions to find the ones that works best, at the moment I'm using the lowest one on all five windows and I've arranged them so that there are two small windows, two slightly larger windows and one large window, this seems to work quite well for questing, though I haven't tried it in an instance yet.

Sometimes I want to change the windows around, so that one of the small ones becomes the big one, this involves moving and resizing them manually, which is a bit of a pain to do every five minutes, are there any programs that would do that for me, allow me to save the positions and sizes of each window and invoke a particular set easily? I've looked on search engines but can't find anything ready made, I can see that it's possible to create an application that would do it but I'd rather use something that was already made rather than get stuck into programming and try to make my own. I'm using windows 7.

Also, I dont use any type of keyboard or mouse broadcasting software, has anyone tried playing 5 box that way with any success? I quite enjoy it so far, it's a bit like playing warcraft 3, very hard though, I often find myself concentrating on one window while at least one of my characters is just standing there facing the wrong way! I'm confident that with practice I can get better at it.

Owltoid
07-15-2010, 08:53 AM
Either you're intentionally trying this playstyle for the challenge, or you haven't been introduced to multiboxing software. If you're doing it on purpose, then I hope you're having fun! I know I wouldn't be. If you just didn't know about multiboxing broadcasting software, then check out ISBoxer... it will change multiboxing as you know it.

PineBeach
07-15-2010, 09:04 AM
Either you're intentionally trying this playstyle for the challenge, or you haven't been introduced to multiboxing software. If you're doing it on purpose, then I hope you're having fun! I know I wouldn't be. If you just didn't know about multiboxing broadcasting software, then check out ISBoxer... it will change multiboxing as you know it.

I've intentionally decided not to use multiboxing bradcasting software, though I might try it one day. I started off on my macbook with three windows at the same time, I created an addon to make it easy for the characters to switch who they follow, I tried some broadcasting software for a short time also but didn't like it, it seemed qutie limited, didn't allow certain keys to be excluded from broadcasting, even though the source code for it is available I can't be bothered to get involved in trying to change it. I quickly moved onto my more powerfull windows machine that has a larger monitor and tried 5 boxing without the broadcasting software, I'm having fun, but there are a few little things that make it tiresome, such as following after combat, I guess I could get an addon to deal with that or write one.

Owltoid
07-15-2010, 09:08 AM
Many people enjoy different things, and if you get your kicks out of starting from scratch, then I wish you the best.

If you ever get tired of reinventing the wheel, there are some extremely nice programs out there that make our lives easier. I would have been burned out a long time ago, and not able to easily mix/match and create new teams if it wasn't for ISBoxer and the add-on Jamba. Other programs were wonderful in the past (HotKeyNet for example, plus it's free) but the perks ISBoxer brings to the table makes nearly everything about multiboxing enjoyable.

Owltoid
07-15-2010, 09:11 AM
Also, if you just want a free program to resize and rename your windows, then check out HotKeyNet. You can delete all the extra stuff that is for key broadcasting and just keep the window resizing part of the script.

PineBeach
07-15-2010, 09:13 AM
Also, if you just want a free program to resize and rename your windows, then check out HotKeyNet. You can delete all the extra stuff that is for key broadcasting and just keep the window resizing part of the script.

Thank you very much, I didn't realise HotKeyNet did that. I'll definately have a look at it.

PineBeach
07-15-2010, 09:21 AM
Many people enjoy different things, and if you get your kicks out of starting from scratch, then I wish you the best.

If you ever get tired of reinventing the wheel, there are some extremely nice programs out there that make our lives easier. I would have been burned out a long time ago, and not able to easily mix/match and create new teams if it wasn't for ISBoxer and the add-on Jamba. Other programs were wonderful in the past (HotKeyNet for example, plus it's free) but the perks ISBoxer brings to the table makes nearly everything about multiboxing enjoyable.

I get what your saying about reinventing the wheel, but there's always a balance with such thngs, the way I see it I'm not really inventing anything, just doing a bit of DIY, which so far, I quite enjoy.

I dont really know much about ISBoxer, but I might give it a try one of these days. I'll definately check their website.

Khatovar
07-15-2010, 09:47 AM
Other programs were wonderful in the past (HotKeyNet for example, plus it's free) but the perks ISBoxer brings to the table makes nearly everything about multiboxing enjoyable.

What exactly is wrong with HKN? Anything I've ever wanted to do, I have been able to do with HKN.

Owltoid
07-15-2010, 10:01 AM
I really don't want to talk badly about HKN. I am truly thankful for all the work Freddie put into it, and I had lots of fun configuring HKN.

I'd rather just talk positively about ISBoxer. The mouse broadcasting is amazing. The PiP swapping is amazing (yes, I had both of those implemented in HKN, but the way ISBoxer handles it is superior for multiboxing). I love the macro generatino in ISBoxer that allows me to mix and match my teams easily. It takes about 25 seconds to add a new macro to all my toons, which includes FTL modifiers, and can be done on the fly. It's extremely easy to go from 5 priests to 3 druids a priest and a warrior, since all the macros are generated when you load up WoW.

HKN can do everything ISBoxer can from a broadcasting standpoint (though ISBoxer is better at some things as mentioned before). But HKN isn't customized for WoW, nor should it be given Freddie's goals. ISBoxer is customized to WoW (and other games) and has features not available in other software I've seen.

Khatovar
07-15-2010, 10:28 AM
You can generate macros and do FTL in Jamba. And WoW is not the only MMO out there where people box. It's really rather irritating to see so many posts that have a tone like ISBoxer is the only option for multiboxing, period. Lax made a nice product that people like, and that's wonderful. But that is no reason to put digs in at other programs that are part of this community.

Owltoid
07-15-2010, 10:37 AM
You can generate macros and do FTL in Jamba. And WoW is not the only MMO out there where people box. It's really rather irritating to see so many posts that have a tone like ISBoxer is the only option for multiboxing, period. Lax made a nice product that people like, and that's wonderful. But that is no reason to put digs in at other programs that are part of this community.

...did you even read my post? I started off by saying how thankful I am to Freddie. Is that what you call putting digs in other programs? As an advanced former user of HKN and a current user of ISBoxer, IMO it's signifcantly better for WoW multiboxing. That doesn't mean HKN doesn't rock.

Khatovar
07-15-2010, 11:21 AM
No, what I take issue with is saying that other programs "were wonderful in the past", like they are no longer usable. But I suppose it's derailing the thread, so that's as far as I'm going with it.

angeldeelite
07-15-2010, 11:45 AM
Keyclone programmed incorrectly on 56 pc's is the best multi boxing software out there!!! Isboxer just can't come close!!! Especially if you want to play 3 dwarf warriors!!! KC, END OF. :p

angeldeelite
07-15-2010, 11:48 AM
And pinebeach your totally nuts (in a good way) for wanting to 5 box with no broadcasting software! But I think as you level higher your really going to want/need it to acheive anything on your own (besides having 5 toons) but best of luck to ya!

PineBeach
07-15-2010, 12:16 PM
And pinebeach your totally nuts (in a good way) for wanting to 5 box with no broadcasting software! But I think as you level higher your really going to want/need it to acheive anything on your own (besides having 5 toons) but best of luck to ya!

Enclosed spaces are trickiest it seems, trying to click on an enemy and position the camera in five different windows at once gets a bit much. Specially when the camera behaves oddly due to the limited space. I'll stick with it for a while, I'm definately getting better. I'm going to give HotKeyNet a try for the window management features. I might end up using it for more as I progress. i've got nothing against key broadcasting software.

I've configured the window focus so that it gives focus when the mouse hovers over the window. That way I just move the mouse into the window and then press one of the keys to cast a spell or attack. The main problem I get is where one of the characters isn't facing the right direction, so even if I focus on the enemy by pressing the tab key they can't cast the spell because they're facing the other way. Is there a way to get the character to face the enemy by pressing a key using built in macro commands or lua? Does HotKeyNet, ISBoxer or Jamba help with that at all?

Owltoid
07-15-2010, 01:32 PM
No, there is nothing that will tell the character to face the enemy (well, there may be a couple items in WoW that will auto turn the toon, like a focusing lens or something) in ISBoxer, HKN, Jamba, or lua.

Littleburst
07-15-2010, 01:45 PM
Interact with target could work somewhat.

If you enable click to move in the mouse options in wow and then bind Interact With Target in keybindings. Then when you press the IWT(interact with target button) the character will try to interact with the target = attack/talk to it and move in melee range with the target. Since casters don't have to be in melee range a quick combo of IWT + move backwards is enough to face and can definitely be helpfull.

PineBeach
07-15-2010, 03:21 PM
Interact with target could work somewhat.

If you enable click to move in the mouse options in wow and then bind Interact With Target in keybindings. Then when you press the IWT(interact with target button) the character will try to interact with the target = attack/talk to it and move in melee range with the target. Since casters don't have to be in melee range a quick combo of IWT + move backwards is enough to face and can definitely be helpfull.

That's exactly what I was looking for!

I assigned "Shift-S" to "Interact with target" so if I want to make sure the character is facing their target I can just press Shift-S and then tap s quickly if I dont want them to get to close.

Thank you!

Owltoid
07-15-2010, 03:22 PM
You will need 'click to move' enabled on your toons, too. It's under mouse settings, I believe.

PineBeach
07-15-2010, 03:31 PM
You will need 'click to move' enabled on your toons, too. It's under mouse settings, I believe.

I find that feature quite usefull for moving the characters around warcraft 3 style. It's such a shame I can't click and drag a box around them to make a group and then click where I want them to move. Does ISBoxer or Keyclones have anything like that?

Owltoid
07-15-2010, 03:34 PM
Heh, no, but that would be interesting. The closest thing you could do is make sure all their views are the same using SetView, broadcast the mouseclicks using ISBoxer (another program could work, but the delays in mouse clicks may make it even tougher), and they'll all move to relatively the same spot. In practice it really wouldn't work, but it could be funny to try. Take a FRAPS video of your toons if you do attempt. Could be good for a quick laugh on how badly it works :)

PineBeach
07-15-2010, 04:23 PM
I've started using HotKeyNet.

I edited the script so that it would launch 5 instances of wow and resize and position the windows, it'll take a some fiddling to right, if only there was a way to get the position and size of all the windows on screen.

It seems I've found just what I was looking for. I'd come across the HotKeyNet site in the past, but didn't look any deeper since I had assumed that it was used only for broadcasting key presses to multiple applications. It seems to be quite flexible and well maintained.

Owltoid
07-15-2010, 04:36 PM
If you have the HKN window open, then it tracks where your mouse cursor is. When I was using HKN I just did some math, given my screen resolution, to figure out how I wanted the screens.

If you decide to try ISBoxer, then it sets it up for you automatically (I'd watch the 40 second video Lax has for setting up ISBoxer where it goes through window positioning).

Enjoy HKN :) I had lots of fun messing with the scripts. I think it helped my transition to ISBoxer a ton. I often wonder if new users to ISBoxer even know how nice some of the features are (such as auto FTL) because they never had to set the stuff up themselves.

MiRai
07-15-2010, 04:43 PM
I've intentionally decided not to use multiboxing bradcasting software
The rest of what I quoted gave your multiboxing history, not a reason as to why you'd making it harder on yourself. So I am curious...

Why?

Perhaps you are you trying to prove a point?
What level are you, or, what is the the highest level of content you've experienced as a multiboxer?

PineBeach
07-15-2010, 04:49 PM
Heres a screenshot of the way I've got the windows arranged

http://img714.imageshack.us/img714/6230/wowsd.jpg (http://img714.imageshack.us/i/wowsd.jpg/)
Uploaded with ImageShack.us (http://imageshack.us)

Ultimately I'd like to configure HotKeyNet to load that on startup and then allow me to switch the windows around.

I'm going to try loading that into mspaint and measure the pixels using the selection tool.

PineBeach
07-15-2010, 04:57 PM
The rest of what I quoted gave your multiboxing history, not a reason as to why you'd making it harder on yourself. So I am curious...

Why?

Perhaps you are you trying to prove a point?
What level are you, or, what is the the highest level of content you've experienced as a multiboxer?



I'm not trying to prove a point, I'm honestly asking for help.

I'm not a high level multiboxer, I just started a matter of days ago, perhaps 1 week, I dont remember.
I haven't been playing wow for long either.

So far I've found that I dont like using key broadcasters to move the characters, because there are different latencies between the windows, they all dont move at the same time, I think casting spells would be alright though.

MiRai
07-15-2010, 05:03 PM
So far I've found that I dont like using key broadcasters to move the characters, because there are different latencies between the windows, they all dont move at the same time, I think casting spells would be alright though.
If I created a character on your realm and watched your characters /follow each other around using any key broadcasting software they'd all be the same. What you're seeing is your own visual lag. Unless your computer is not able to handle 5 instances of the game at once I'm not sure how key broadcasting software would give you in game movement issues? If that is the only reason you're not using key broadcasting software I can only suggest to start trying some or else you might end up quitting before you even get a chance to begin. To each his own though.

PineBeach
07-15-2010, 05:12 PM
If I created a character on your realm and watched your characters /follow each other around using any key broadcasting software they'd all be the same. What you're seeing is your own visual lag. Unless your computer is not able to handle 5 instances of the game at once I'm not sure how key broadcasting software would give you in game movement issues? If that is the only reason you're not using key broadcasting software I can only suggest to start trying some or else you might end up quitting before you even get a chance to begin. To each his own though.


Thanks for that.

What I'm seeing is the delay between pressing the key to move in one window and the time it takes for that command to reach the server and then get sent back to all the other windows. It sort of annoys me to hit the key whilst looking at a window and see one character move, while the other characters haven't started to move yet because the server hasn't sent the message to say that they have started to move. Hope that makes sense. That's my interpretation of it.

I really can't imagine quitting now that I've started, I really enjoy having a "Party" of characters to go adventuring with. I'm not trying to beat anyone or prove any kind of point about my skills. I used to play ssi role playing games as a teenager and I played warcraft 1 too. Just having fun.

MiRai
07-15-2010, 05:31 PM
I'm not trying to beat anyone or prove any kind of point about my skills.
If you can multibox current end game content without the use of key broadcasting software, then I tip my hat to you my friend. I believe you would be the first to accomplish such a feat.

PineBeach
07-15-2010, 05:42 PM
If you can multibox current end game content without the use of key broadcasting software, then I tip my hat to you my friend. I believe you would be the first to accomplish such a feat.

I've got little interest in attaining that particular achievement.

I can imagine using a key broadcaster to make all the spell casters cast a spell at the same time, it would be really handy. But movement just makes my head hurt. I need to see the characters move exactly when I move them, not a short while later.

PineBeach
07-15-2010, 05:58 PM
Here is the HotKeyNet script I came up with to arrange the windows



//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
<RenameTargetWin %2%>
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local WoW1>
<TargetWin WoW1>
<SetWinRect 0 0 965 795>
<LaunchAndRename Local WoW2>
<TargetWin WoW2>
<SetWinRect 0 795 965 795>
<LaunchAndRename Local WoW3>
<TargetWin WoW3>
<SetWinRect 965 0 795 660>
<LaunchAndRename Local WoW4>
<TargetWin WoW4>
<SetWinRect 1760 0 795 660>
<LaunchAndRename Local WoW5>
<TargetWin WoW5>
<SetWinRect 965 660 1135 930>


The next step is to get the windows to swap around using some sort of key press combination

skwert
07-15-2010, 10:30 PM
Do you mean you're using WSAD or arrow keys and want the characters to all move in step? If so, that's the problem. Use an addon like Jamba to tell them all to follow your main character. Then you just move him around as you wish. When you're ready to fight, stop the following and fetch your prey. The lag (a bit still persists) with following is much easier to cope with than trying to broadcast WSAD to everyone.

If you still want to keep it simple, just use the broadcast programs to only send the 1 through = keys to each window. Then set up your hotkeys as you want. After you have that down, you can slowly delve into the fancier features.

OzPhoenix
07-16-2010, 01:11 AM
I've got little interest in attaining that particular achievement.

I can imagine using a key broadcaster to make all the spell casters cast a spell at the same time, it would be really handy. But movement just makes my head hurt. I need to see the characters move exactly when I move them, not a short while later.

Not going to happen unfortunately, even if you're pretty close to the server. What's happening is this:

1. You move your main.
2. The movement of your main is sent to the server.
3. The server tells your followers that your main moved.
4. The followers move in response and tells the server they've moved.
5. The server tells your main that your followers moved.

I'm an Oceanic boxer. My latency is never much less than 200ms and often over 300ms. Each of those 5 steps would require - at a minimum - my latency time to accomplish. Thus, the best case scenario for me is to see my followers move 1.25 seconds after my main started moving.

Has nothing to do with whether you use multiboxing software or not, is a simple fact of the finite speed of communications between you and the server.

PineBeach
07-16-2010, 03:29 AM
Not going to happen unfortunately.

I dont have any issue with characters following each other.

The problem I had was when I moved all the characters at the same time using WASD, or if I send movement to individual characters using other keys.

I appreciate your breakdown of the client server communication that takes place when multiboxing, it quite clearly illustrates the reason why moving other characters from the main window has a slight delay.

What initially put me off of broadcasting software was that the one I used for the first time didn't allow any kind of configuration, so there was no way to prevent WASD from being sent to all windows. So I used macros and lua to make the characters follow each other, and didn't bother with the key broadcasting software.

Since that initial experience I've moved my multiboxing efforts onto a different operating system, which has a wider range of multiboxing software freely available.

Following owltoids advice I've found that HotKeyNet can allow me to launch five instances of wow more easily and has the ability to rearrange the window size and position during gameplay.

HotKeyNet also broadcasts key presses, and is highly configurable. I couldn't get HotKeyNet when I started out, it's not available on os x. If my initial experience had been with that then I would have been fully prepared to use it to send keys "1" to "=" to the others characters as skwert suggests.


Has nothing to do with whether you use multiboxing software or not, is a simple fact of the finite speed of communications between you and the server.

Since I started using HotKeyNet about 15 hours ago I haven't taken advantage of it's key broadcasting capabilities during gameplay, however, as time passes I'm certain that I will start to use those features.

MiRai
07-16-2010, 06:51 AM
The problem I had was when I moved all the characters at the same time using WASD, or if I send movement to individual characters using other keys.
Yeah, you can't do this. No one moves all their characters with WASD in World of Warcraft, it's impossible. Even if you think you've got all the cameras lined up 100% perfect with no differences... it doesn't work. Everyone makes their slave characters /follow their lead.

PineBeach
07-16-2010, 08:10 AM
I've had a look at the ISBoxer website and forums, it seems to do away with most of the grunt work, setting up the windows on the screen, and selecting characters for each window, it also has the window swapping feature that I'm going to setup in HotKeyNet.

From what I can tell it requires a subscription to a component called "Inner Space".

I wonder if I should just subscribe to inner space and use isboxer or roll my own with HotKeyNet. Inner space isn't expensive, but still I'm not sure.

MiRai
07-16-2010, 08:38 AM
I wonder if I should just subscribe to inner space and use isboxer or roll my own with HotKeyNet. Inner space isn't expensive, but still I'm not sure.
As most people here will tell you that ISBoxer is a route that they've chosen and never looked back. I will say the same.

PineBeach
07-16-2010, 09:12 AM
I've just had a quick look at the wiki http://www.dual-boxing.com/wiki/index.php/Software (http://www.dual-boxing.com/wiki/index.php/Software) there's plenty to choose from. Have you had any experience with the others?


As most people here will tell you that ISBoxer is a route that they've chosen and never looked back. I will say the same.

From the video on the homepage I can see that the window switching in ISBoxer looks quite fast, I'll have to see how it goes with HotKeyNet.

At the moment I can't really justify forking out for ISBoxer, cheap as it may be. I'm also concerned that it might do too much; have loads of features that I dont want. At the moment my needs are very simple. If I hit a wall with HotKeyNet I might give ISBoxer a try.

Owltoid
07-16-2010, 10:36 AM
I like this thread beause:

1.) The OP is willing to do some legwork and isn't asking for everything under the sun
2.) The OP isn't a braggart or saying he's the greatest MB in the world - just trying to learn
3.) The OP is listening to others' advice and we aren't wasting our time

OzPhoenix
07-18-2010, 10:04 AM
As most people here will tell you that ISBoxer is a route that they've chosen and never looked back. I will say the same.

Ditto.

The power and configurability of ISBoxer is worth every cent of the annual subscription and more.... way more (but shhh, don't tell Lax I said that... hehe).

Given your interest in devling into the mechanics of it all PineBeach I think you'd especially appreciate the sheer magnitude of what you can do with it. Make sure to get Jamba too, a free-add on that Jafula on these boards is both rightly and highly praised for.

I'd also like to agree with Fenril - no-one, but no-one moves all their toons all the time using WASD. As he mentioned, the simple fact that the camera settings/ teams facing, no matter how much you may try, won't always exactly line up would make that system unworkable.

/follow is the only way to go, and that means accepting follower lag for the reasons I laid out in my previous post.

PineBeach
07-20-2010, 09:41 PM
I had a quick look at ISBoxer the other day, I couldn't figure out how to resize the windows when setting up, I'll have another go on the weekend. It looks pretty good, among other things it allows you to have a seperate config file for each character which is really good.

I have finished my HotKeyNet window swapping script, it uses the following keys

Pause - Toggles hot keys on or off, I use this when I dont want to broadcast key presses to all windows
Ctrl Alt A - Toggle active window tracking
Ctrl Alt L - Launch 5 instances of world of warcraft
Ctrl Alt X - Make the active window the main window
Ctrl Alt F1 - Make WoW1 the main window
Ctrl Alt F2 - Make WoW2 the main window
Ctrl Alt F3 - Make WoW3 the main window
Ctrl Alt F4 - Make WoW4 the main window
Ctrl Alt F5 - Make WoW5 the main window
Ctrl Alt D Arrange the windows in the default layout
Keys 1 - 0 and the minus key

I use it with a screen resolution of 2560 x 1600 on windows 7

Before pressing Ctrl Alt L I open up an instance of wow, change the graphics settings to low, windowed, a resolution of 720x576 and disable sound, then shut it down, otherwise my machine wouldn't be able to handle it when five of them start up.

Is there a way to limit the fps of the smaller windows?

Once the instances of wow have loaded there are two indicators in the bottom right of the screen to tell me whether hot keys are enabled and whether active window tracing is on, active window tracking is an operating system feature that causes the window with the mouse over it to recieve focus, this makes things much easier when switching windows.

When the script loads hot keys are disabled by default and I press the Pause key to enable them.

The default window layout is

WoW5 - Top Left
WoW4 - Bottom Left
WoW3 - Top Middle
WoW2 - Top Right
WoW1 - Main

I posted a screenshot a few days ago

Here Is Part One



<Command LaunchAndRename>
<SendPC local>
<Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
<RenameTargetWin %2%>
<Command SetWin1>
<SetVar Win1 %1%>
<TargetWin %1%>
<SetWinPos 0 0>
<SetWinSize 965 795>
<UpdateWin>
<Command SetWin2>
<SetVar Win2 %1%>
<TargetWin %1%>
<SetWinPos 0 795>
<SetWinSize 965 795>
<UpdateWin>
<Command SetWin3>
<SetVar Win3 %1%>
<TargetWin %1%>
<SetWinPos 965 0>
<SetWinSize 795 660>
<UpdateWin>
<Command SetWin4>
<SetVar Win4 %1%>
<TargetWin %1%>
<SetWinPos 1760 0>
<SetWinSize 795 660>
<UpdateWin>
<Command SetWin5>
<SetVar Win5 %1%>
<TargetWin %1%>
<SetWinPos 965 660>
<SetWinSize 1135 930>
<UpdateWin>
<Command DefaultWindowLayout>
<SetWin1 WoW5>
<SetWin2 WoW4>
<SetWin3 WoW3>
<SetWin4 WoW2>
<SetWin5 WoW1>
<Command Swap1And5>
<SetWin1 %2%>
<SetWin5 %1%>
<Command Swap2And5>
<SetWin2 %2%>
<SetWin5 %1%>
<Command Swap3And5>
<SetWin3 %2%>
<SetWin5 %1%>
<Command Swap4And5>
<SetWin4 %2%>
<SetWin5 %1%>
<Command AutoExec>
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift H>
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift A>
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift T>
<SetActiveWindowTracking Off>
<SetVar ActOff true>
<Hotkey NumLockOn Alt Ctrl Shift H>
<If WinDoesNotExist HKN>
<CreatePanel HKN 2500 1535 30 30>
<TargetWin HKN>
<CreateColoredButton ON 0 0 30 30 0x00FF00 0x0F0F0F ???>
<AddButtonToPanel ON HKN>
<SetButtonText ON HKN>
<TargetWin HKN>
<AlwaysOnTop on>
<RemoveWinFrame>
<UpdateWin>
<EndIf>
<SetButtonColors ON 0xfF0000 0xffFFff >
<SetButtonText ON off>
<Hotkey NumLockOn Alt Ctrl Shift A>
<If WinDoesNotExist AWT>
<CreatePanel AWT 2400 1535 30 30>
<TargetWin AWT>
<CreateColoredButton ACT 0 0 30 30 0x0000FF 0xFFFFFF ???>
<AddButtonToPanel ACT AWT>
<SetButtonText ACT AWT>
<TargetWin AWT>
<AlwaysOnTop on>
<RemoveWinFrame>
<UpdateWin>
<endif>
<SetButtonColors ACT 0xfF0000 0xffFFff >
<SetButtonText ACT off>

PineBeach
07-20-2010, 09:43 PM
Part Two



<Hotkey Alt Ctrl Shift Oem2>
<If Win5 Is WoW4>
<Swap4And5 WoW1 WoW4>
<Else If Win5 Is WoW5>
<Swap4And5 WoW1 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift Period>
<If Win5 Is WoW2>
<Swap4And5 WoW1 WoW2>
<Else If Win5 Is WoW3>
<Swap4And5 WoW1 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift Oem2>
<EndIf>
<Hotkey Alt Ctrl Shift Comma>
<If Win5 Is WoW4>
<Swap3And5 WoW1 WoW4>
<Else If Win5 Is WoW5>
<Swap3And5 WoW1 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift M>
<If Win5 Is WoW2>
<Swap3And5 WoW1 WoW2>
<Else If Win5 Is WoW3>
<Swap3And5 WoW1 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift Comma>
<EndIf>
<Hotkey Alt Ctrl Shift N>
<If Win3 Is WoW1>
<DoHotkey Hotkey Alt Ctrl Shift M>
<Else If Win4 Is WoW1>
<DoHotkey Hotkey Alt Ctrl Shift Period>
<EndIf>
<Hotkey Alt Ctrl Shift B>
<If Win5 Is WoW4>
<Swap2And5 WoW1 WoW4>
<Else If Win5 Is WoW5>
<Swap2And5 WoW1 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift V>
<If Win5 Is WoW2>
<Swap2And5 WoW1 WoW2>
<Else If Win5 Is WoW3>
<Swap2And5 WoW1 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift B>
<EndIf>
<Hotkey Alt Ctrl Shift C>
<If Win2 Is WoW1>
<DoHotkey Hotkey Alt Ctrl Shift V>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift N>
<EndIf>
<Hotkey Alt Ctrl Shift X>
<If Win5 Is WoW4>
<Swap1And5 WoW1 WoW4>
<Else If Win5 Is WoW5>
<Swap1And5 WoW1 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift Z>
<If Win5 Is WoW2>
<Swap1And5 WoW1 WoW2>
<Else If Win5 Is WoW3>
<Swap1And5 WoW1 WoW1>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift X>
<EndIf>
<Hotkey Alt Ctrl Shift Oem5; Alt Ctrl F1>
<If Win1 Is WoW1>
<DoHotkey Hotkey Alt Ctrl Shift Z>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift C>
<EndIf>
<Hotkey Alt Ctrl Shift Oem3>
<If Win5 Is WoW4>
<Swap4And5 WoW2 WoW4>
<Else If Win5 Is WoW5>
<Swap4And5 WoW2 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift Oem1>
<If Win5 Is WoW1>
<Swap4And5 WoW2 WoW1>
<Else If Win5 Is WoW3>
<Swap4And5 WoW2 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift Oem3>
<EndIf>
<Hotkey Alt Ctrl Shift L>
<If Win5 Is WoW4>
<Swap3And5 WoW2 WoW4>
<Else If Win5 Is WoW5>
<Swap3And5 WoW2 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift K>
<If Win5 Is WoW1>
<Swap3And5 WoW2 WoW1>
<Else If Win5 Is WoW3>
<Swap3And5 WoW2 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift L>
<EndIf>
<Hotkey Alt Ctrl Shift J>
<If Win3 Is WoW2>
<DoHotkey Hotkey Alt Ctrl Shift K>
<Else If Win4 Is WoW2>
<DoHotkey Hotkey Alt Ctrl Shift Oem1>
<EndIf>
<Hotkey Alt Ctrl Shift H>
<If Win5 Is WoW4>
<Swap2And5 WoW2 WoW4>
<Else If Win5 Is WoW5>
<Swap2And5 WoW2 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift G>
<If Win5 Is WoW1>
<Swap2And5 WoW2 WoW1>
<Else If Win5 Is WoW3>
<Swap2And5 WoW2 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift H>
<EndIf>
<Hotkey Alt Ctrl Shift F>
<If Win2 Is WoW2>
<DoHotkey Hotkey Alt Ctrl Shift G>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift J>
<EndIf>
<Hotkey Alt Ctrl Shift D>
<If Win5 Is WoW4>
<Swap1And5 WoW2 WoW4>
<Else If Win5 Is WoW5>
<Swap1And5 WoW2 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift S>
<If Win5 Is WoW1>
<Swap1And5 WoW2 WoW1>
<Else If Win5 Is WoW3>
<Swap1And5 WoW2 WoW3>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift D>
<EndIf>
<Hotkey Alt Ctrl Shift A; Alt Ctrl F2>
<If Win1 Is WoW2>
<DoHotkey Hotkey Alt Ctrl Shift S>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F>
<EndIf>
<Hotkey Alt Ctrl Shift Oem4>
<If Win5 Is WoW4>
<Swap4And5 WoW3 WoW4>
<Else If Win5 Is WoW5>
<Swap4And5 WoW3 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift P>
<If Win5 Is WoW1>
<Swap4And5 WoW3 WoW1>
<Else If Win5 Is WoW2>
<Swap4And5 WoW3 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift Oem4>
<EndIf>
<Hotkey Alt Ctrl Shift O>
<If Win5 Is WoW4>
<Swap3And5 WoW3 WoW4>
<Else If Win5 Is WoW5>
<Swap3And5 WoW3 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift I>
<If Win5 Is WoW1>
<Swap3And5 WoW3 WoW1>
<Else If Win5 Is WoW2>
<Swap3And5 WoW3 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift O>
<EndIf>
<Hotkey Alt Ctrl Shift U>
<If Win3 Is WoW3>
<DoHotkey Hotkey Alt Ctrl Shift I>
<Else If Win4 Is WoW3>
<DoHotkey Hotkey Alt Ctrl Shift P>
<EndIf>
<Hotkey Alt Ctrl Shift Y>
<If Win5 Is WoW4>
<Swap2And5 WoW3 WoW4>
<Else If Win5 Is WoW5>
<Swap2And5 WoW3 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift T>
<If Win5 Is WoW1>
<Swap2And5 WoW3 WoW1>
<Else If Win5 Is WoW2>
<Swap2And5 WoW3 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift Y>
<EndIf>
<Hotkey Alt Ctrl Shift R>
<If Win2 Is WoW3>
<DoHotkey Hotkey Alt Ctrl Shift T>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift U>
<EndIf>
<Hotkey Alt Ctrl Shift E>
<If Win5 Is WoW4>
<Swap1And5 WoW3 WoW4>
<Else If Win5 Is WoW5>
<Swap1And5 WoW3 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift W>
<If Win5 Is WoW1>
<Swap1And5 WoW3 WoW1>
<Else If Win5 Is WoW2>
<Swap1And5 WoW3 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift E>
<EndIf>
<Hotkey Alt Ctrl Shift Q; Alt Ctrl F3>
<If Win1 Is WoW3>
<DoHotkey Hotkey Alt Ctrl Shift W>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift R>
<EndIf>
<Hotkey Alt Ctrl Shift plus>
<If Win5 Is WoW3>
<Swap4And5 WoW4 WoW3>
<Else If Win5 Is WoW5>
<Swap4And5 WoW4 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift minus>
<If Win5 Is WoW1>
<Swap4And5 WoW4 WoW1>
<Else If Win5 Is WoW2>
<Swap4And5 WoW4 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift plus>
<EndIf>
<Hotkey Alt Ctrl Shift 0>
<If Win5 Is WoW3>
<Swap3And5 WoW4 WoW3>
<Else If Win5 Is WoW5>
<Swap3And5 WoW4 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift 9>
<If Win5 Is WoW1>
<Swap3And5 WoW4 WoW1>
<Else If Win5 Is WoW2>
<Swap3And5 WoW4 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 0>
<EndIf>
<Hotkey Alt Ctrl Shift 8>
<If Win5 Is WoW3>
<Swap2And5 WoW4 WoW3>
<Else If Win5 Is WoW5>
<Swap2And5 WoW4 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift 7>
<If Win5 Is WoW3>
<Swap4And5 WoW5 WoW3>
<Else If Win5 Is WoW4>
<Swap4And5 WoW5 WoW4>
<EndIf>
<Hotkey Alt Ctrl Shift 6>
<If Win5 Is WoW1>
<Swap4And5 WoW5 WoW1>
<Else If Win5 Is WoW2>
<Swap4And5 WoW5 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 7>
<EndIf>
<Hotkey Alt Ctrl Shift 5>
<If Win5 Is WoW3>
<Swap3And5 WoW5 WoW3>
<Else If Win5 Is WoW4>
<Swap3And5 WoW5 WoW4>
<EndIf>
<Hotkey Alt Ctrl Shift 4>
<If Win5 Is WoW1>
<Swap3And5 WoW5 WoW1>
<Else If Win5 Is WoW2>
<Swap3And5 WoW5 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 5>
<EndIf>
<Hotkey Alt Ctrl Shift 3>
<If Win3 Is WoW4>
<DoHotkey Hotkey Alt Ctrl Shift 9>
<Else If Win4 Is WoW4>
<DoHotkey Hotkey Alt Ctrl Shift minus>
<EndIf>
<Hotkey Alt Ctrl Shift 2>
<If Win5 Is WoW1>
<Swap2And5 WoW4 WoW1>
<Else If Win5 Is WoW2>
<Swap2And5 WoW4 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 8>
<EndIf>
<Hotkey Alt Ctrl Shift 1>
<If Win5 Is WoW3>
<Swap1And5 WoW4 WoW3>
<Else If Win5 Is WoW5>
<Swap1And5 WoW4 WoW5>
<EndIf>
<Hotkey Alt Ctrl Shift F12>
<If Win2 Is WoW4>
<DoHotkey Hotkey Alt Ctrl Shift 2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 3>
<EndIf>
<Hotkey Alt Ctrl Shift F11>
<If Win5 Is WoW1>
<Swap1And5 WoW4 WoW1>
<Else If Win5 Is WoW2>
<Swap1And5 WoW4 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift 1>
<EndIf>
<Hotkey Alt Ctrl Shift F10; Alt Ctrl F4>
<If Win1 Is WoW4>
<DoHotkey Hotkey Alt Ctrl Shift F11>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F12>
<EndIf>
<Hotkey Alt Ctrl Shift F9; Alt Ctrl F5>
<If Win1 Is WoW5>
<DoHotkey Hotkey Alt Ctrl Shift F1>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F3>
<EndIf>
<Hotkey Alt Ctrl Shift F8>
<If Win5 Is WoW3>
<Swap2And5 WoW5 WoW3>
<Else If Win5 Is WoW4>
<Swap2And5 WoW5 WoW4>
<EndIf>
<Hotkey Alt Ctrl Shift F7>
<If Win5 Is WoW1>
<Swap2And5 WoW5 WoW1>
<Else If Win5 Is WoW2>
<Swap2And5 WoW5 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F8>
<EndIf>
<Hotkey Alt Ctrl Shift F6>
<If MouseIsOverWindow WoW1>
<DoHotkey Hotkey Alt Ctrl Shift Oem5>
<EndIf>
<Hotkey Alt Ctrl Shift F5>
<If MouseIsOverWindow WoW3>
<DoHotkey Hotkey Alt Ctrl Shift Q>
<Else If MouseIsOverWindow WoW2>
<DoHotkey Hotkey Alt Ctrl Shift A>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F6>
<EndIf>
<Hotkey Alt Ctrl Shift F4>
<If Win3 Is WoW5>
<DoHotkey Hotkey Alt Ctrl Shift 4>
<Else If Win4 Is WoW5>
<DoHotkey Hotkey Alt Ctrl Shift 6>
<EndIf>
<Hotkey Alt Ctrl Shift F3>
<If Win2 Is WoW5>
<DoHotkey Hotkey Alt Ctrl Shift F7>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F4>
<EndIf>
<Hotkey Alt Ctrl Shift F2>
<If Win5 Is WoW3>
<Swap1And5 WoW5 WoW3>
<Else If Win5 Is WoW4>
<Swap1And5 WoW5 WoW4>
<EndIf>
<Hotkey Alt Ctrl Shift F1>
<If Win5 Is WoW1>
<Swap1And5 WoW5 WoW1>
<Else If Win5 Is WoW2>
<Swap1And5 WoW5 WoW2>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F2>
<EndIf>

PineBeach
07-20-2010, 09:45 PM
Part Three



<Hotkey NumLockOn Alt Ctrl Shift T>
<If HotkeysAreOn>
<TurnHotkeysOff>
<EndIf>

<Hotkey Alt Ctrl X>
<DisplayVars>
<If MouseIsOverWindow WoW5>
// make WoW5 the main window
<DoHotkey Hotkey Alt Ctrl Shift F9>
<Else If MouseIsOverWindow WoW4>
// make WoW4 the main window
<DoHotkey Hotkey Alt Ctrl Shift F10>
<Else>
//make WoW3, WoW2 or WoW1 the main window
<DoHotkey Hotkey Alt Ctrl Shift F5>
<EndIf>
<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 0-9, Minus>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey Alt Ctrl L>
<SetTaskbarAutoHide On>
<LaunchAndRename Local WoW5>
<LaunchAndRename Local WoW4>
<LaunchAndRename Local WoW3>
<LaunchAndRename Local WoW2>
<LaunchAndRename Local WoW1>
<DefaultWindowLayout>
<Hotkey pause>
<sendpc local>
<If HotkeysAreOff>
<TurnHotkeysOn>
<SetButtonColors ON 0x00FF00 0x0F0F0F>
<SetButtonText ON HKN>
<Else>
<TurnHotkeysOff>
<SetButtonColors ON 0xfF0000 0xffFFff >
<SetButtonText ON off>
<EndIf>
<Hotkey Alt Ctrl A>
<Toggle>
<sendpc local>
<SetButtonColors ACT 0x00FF00 0x0F0F0F>
<SetButtonText ACT AWT>
<SetActiveWindowTrackingDelay 0>
<SetActiveWindowTracking On>
<Toggle>
<sendpc local>
<SetButtonColors ACT 0xfF0000 0xffFFff >
<SetButtonText ACT off>
<SetActiveWindowTracking Off>
<Hotkey Alt Ctrl D>
<SetVar Win1 WoW5>
<SetVar Win2 WoW4>
<SetVar Win3 WoW3>
<SetVar Win4 WoW2>
<SetVar Win5 WoW1>
<DefaultWindowLayout>



You may notice that it's rather long and convoluted, this is because of a limitation in HotKeyNet that prevents nesting of If statements within each other or user defined commands.

uffela
07-21-2010, 12:20 AM
I like this thread beause:

1.) The OP is willing to do some legwork and isn't asking for everything under the sun
2.) The OP isn't a braggart or saying he's the greatest MB in the world - just trying to learn
3.) The OP is listening to others' advice and we aren't wasting our time

+1

Love reading this thread, I started with dual-comp, Synergy (http://synergy2.sourceforge.net/) and follow myself. That left me feeling unfulfilled. Great to see OP being persistent and inventive a, and most of all doing great leg work.

PineBeach
07-24-2010, 05:03 AM
I have put the complete window swapping script with comments onto pastebin
http://pastebin.com/raw.php?i=UEiwqSDs

It works pretty well for me. So far I haven't used it as much as I thought I would.

PineBeach
08-12-2010, 05:23 PM
I was reading this (http://www.dual-boxing.com/showpost.php?p=203281&postcount=59) today and I discovered the ApplyTemplate command, I've refactored my Window swaping script to use it



<Command LaunchAndRename>
<SendPC local>
<Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
<RenameTargetWin %1%>
<Template SetWin>
<Command SetWin%1%>
<SetVar Win%1% %2%>
<TargetWin %2%>
<SetWinPos %3% %4%>
<SetWinSize %5% %6%>
<UpdateWin>
<EndTemplate>
<ApplyTemplate SetWin 1 "%1%" "0" "0" "965" "795">
<ApplyTemplate SetWin 2 "%1%" "0" "795" "965" "795">
<ApplyTemplate SetWin 3 "%1%" "965" "0" "795" "660">
<ApplyTemplate SetWin 4 "%1%" "1760" "0" "795" "660">
<ApplyTemplate SetWin 5 "%1%" "965" "660" "1135" "930">
<Command DefaultWindowLayout>
<SetWin1 WoW5>
<SetWin2 WoW4>
<SetWin3 WoW3>
<SetWin4 WoW2>
<SetWin5 WoW1>
<Template Swap>
<Command Swap%1%And%2%>
<SetWin%1% %3%>
<SetWin%2% %4%>
<EndTemplate>
<ApplyTemplate Swap 1 5 "%2%" "%1%">
<ApplyTemplate Swap 2 5 "%2%" "%1%">
<ApplyTemplate Swap 3 5 "%2%" "%1%">
<ApplyTemplate Swap 4 5 "%2%" "%1%">
<Command AutoExec>
// Initialise the HKN indicator
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift H>
// Initialise the AWT indicator
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift A>
// turn hotkeys off
<DoHotKey Hotkey NumLockOn Alt Ctrl Shift T>
<SetActiveWindowTracking Off>
<SetVar ActOff true>
<DefaultWindowLayout>
<Hotkey NumLockOn Alt Ctrl Shift H>
<If WinDoesNotExist HKN>
<CreatePanel HKN 2500 1535 30 30>
<TargetWin HKN>
<CreateColoredButton ON 0 0 30 30 0x00FF00 0x0F0F0F ???>
<AddButtonToPanel ON HKN>
<SetButtonText ON HKN>
<TargetWin HKN>
<AlwaysOnTop on>
<RemoveWinFrame>
<UpdateWin>
<EndIf>
<SetButtonColors ON 0xfF0000 0xffFFff >
<SetButtonText ON off>
<Hotkey NumLockOn Alt Ctrl Shift A>
<If WinDoesNotExist AWT>
<CreatePanel AWT 2400 1535 30 30>
<TargetWin AWT>
<CreateColoredButton ACT 0 0 30 30 0x0000FF 0xFFFFFF ???>
<AddButtonToPanel ACT AWT>
<SetButtonText ACT AWT>
<TargetWin AWT>
<AlwaysOnTop on>
<RemoveWinFrame>
<UpdateWin>
<endif>
<SetButtonColors ACT 0xfF0000 0xffFFff >
<SetButtonText ACT off>
<Hotkey NumLockOn Alt Ctrl Shift T>
<If HotkeysAreOn>
<TurnHotkeysOff>
<EndIf>
<Template Conditional1>
<Hotkey Alt Ctrl Shift %1%>
<If Win5 Is WoW%2%>
<Swap%3%And5 WoW%4% WoW%2%>
<Else If Win5 Is WoW%5%>
<Swap%3%And5 WoW%4% WoW%5%>
<EndIf>
<EndTemplate>
<Template Conditional2>
<Hotkey Alt Ctrl Shift %1%>
<If Win5 Is WoW%2%>
<Swap%3%And5 WoW%4% WoW%2%>
<Else If Win5 Is WoW%5%>
<Swap%3%And5 WoW%4% WoW%5%>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift %6%>
<EndIf>
<EndTemplate>
<Template Conditional3>
<Hotkey Alt Ctrl Shift %1%>
<If Win3 Is WoW%2%>
<DoHotkey Hotkey Alt Ctrl Shift %3%>
<Else If Win4 Is WoW%2%>
<DoHotkey Hotkey Alt Ctrl Shift %4%>
<EndIf>
<EndTemplate>
<Template Conditional4>
<Hotkey Alt Ctrl Shift %1%>
<If Win%2% Is WoW%3%>
<DoHotkey Hotkey Alt Ctrl Shift %4%>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift %5%>
<EndIf>
<EndTemplate>
<ApplyTemplate Conditional1 Oem2 4 4 1 5>
<ApplyTemplate Conditional2 Period 2 4 1 3 Oem2>
<ApplyTemplate Conditional1 Comma 4 3 1 5>
<ApplyTemplate Conditional2 M 2 3 1 3 Comma>
<ApplyTemplate Conditional3 N 1 M Period>
<ApplyTemplate Conditional1 B 4 2 1 5>
<ApplyTemplate Conditional2 V 2 2 1 3 B>
<ApplyTemplate Conditional4 C 2 1 V N>
<ApplyTemplate Conditional1 X 4 1 1 5>
<ApplyTemplate Conditional2 Z 2 1 1 3 X>
<ApplyTemplate Conditional4 "Oem5; Alt Ctrl F1" 1 1 Z C>
<ApplyTemplate Conditional1 Oem3 4 4 2 5>
<ApplyTemplate Conditional2 Oem1 1 4 2 3 Oem3>
<ApplyTemplate Conditional1 L 4 3 2 5>
<ApplyTemplate Conditional2 K 1 3 2 3 L>
<ApplyTemplate Conditional3 J 2 K Oem1>
<ApplyTemplate Conditional1 H 4 2 2 5>
<ApplyTemplate Conditional2 G 1 2 2 3 H>
<ApplyTemplate Conditional4 F 2 2 G J>
<ApplyTemplate Conditional1 D 4 1 2 5>
<ApplyTemplate Conditional2 S 1 1 2 3 D>
<ApplyTemplate Conditional4 "A; Alt Ctrl F2" 1 2 S F>
<ApplyTemplate Conditional1 Oem4 4 4 3 5>
<ApplyTemplate Conditional2 P 1 4 3 2 Oem4>
<ApplyTemplate Conditional1 O 4 3 3 5>
<ApplyTemplate Conditional2 I 1 3 3 2 O>
<ApplyTemplate Conditional3 U 3 I P>
<ApplyTemplate Conditional1 Y 4 2 3 5>
<ApplyTemplate Conditional2 T 1 2 3 2 Y>
<ApplyTemplate Conditional4 R 2 3 T U>
<ApplyTemplate Conditional1 E 4 1 3 5>
<ApplyTemplate Conditional2 W 1 1 3 2 E>
<ApplyTemplate Conditional4 "Q; Alt Ctrl F3" 1 3 W R>
<ApplyTemplate Conditional1 plus 3 4 4 5>
<ApplyTemplate Conditional2 minus 1 4 4 2 plus>
<ApplyTemplate Conditional1 0 3 3 4 5>
<ApplyTemplate Conditional2 9 1 3 4 2 0>
<ApplyTemplate Conditional1 8 3 2 4 5>
<ApplyTemplate Conditional1 7 3 4 5 4>
<ApplyTemplate Conditional2 6 1 4 5 2 7>
<ApplyTemplate Conditional1 5 3 3 5 4>
<ApplyTemplate Conditional2 4 1 3 5 2 5>
<ApplyTemplate Conditional3 3 4 9 minus>
<ApplyTemplate Conditional2 2 1 2 4 2 8>
<ApplyTemplate Conditional1 1 3 1 4 5>
<ApplyTemplate Conditional4 F12 2 4 2 3>
<ApplyTemplate Conditional2 F11 1 1 4 2 1>
<ApplyTemplate Conditional4 "F10; Alt Ctrl F4" 1 4 F11 F12>
<ApplyTemplate Conditional4 "F9; Alt Ctrl F5" 1 5 F1 F3>
<ApplyTemplate Conditional1 F8 3 2 5 4>
<ApplyTemplate Conditional2 F7 1 2 5 2 F8>
<Hotkey Alt Ctrl Shift F6>
<If MouseIsOverWindow WoW1>
<DoHotkey Hotkey Alt Ctrl Shift Oem5>
<EndIf>
<Hotkey Alt Ctrl Shift F5>
<If MouseIsOverWindow WoW3>
<DoHotkey Hotkey Alt Ctrl Shift Q>
<Else If MouseIsOverWindow WoW2>
<DoHotkey Hotkey Alt Ctrl Shift A>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F6>
<EndIf>
<ApplyTemplate Conditional3 F4 5 4 6>
<ApplyTemplate Conditional4 F3 2 5 F7 F4>
<ApplyTemplate Conditional1 F2 3 1 5 4>
<ApplyTemplate Conditional2 F1 1 1 5 2 F2>
<Hotkey Alt Ctrl X>
<DisplayVars>
<If MouseIsOverWindow WoW5>
<DoHotkey Hotkey Alt Ctrl Shift F9>
<Else If MouseIsOverWindow WoW4>
<DoHotkey Hotkey Alt Ctrl Shift F10>
<Else>
<DoHotkey Hotkey Alt Ctrl Shift F5>
<EndIf>
<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>
<KeyList TheKeyList 0-9, Plus, Minus, F2>
<Hotkey LCtrl TheKeyList; LAlt TheKeyList>
<SendLabel w4>
<Key %Trigger%>
<Hotkey TheKeyList>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
<Hotkey Alt Ctrl L>
<SetTaskbarAutoHide On>
<LaunchAndRename WoW1>
<LaunchAndRename WoW2>
<LaunchAndRename WoW3>
<LaunchAndRename WoW4>
<LaunchAndRename WoW5>
<DefaultWindowLayout>
<Template Launch>
<Hotkey Alt Ctrl %1%>
<If WinDoesNotExist WoW%1%>
<LaunchAndRename WoW%1%>
<DefaultWindowLayout>
<EndIf>
<EndTemplate>
<ApplyTemplate Launch 1>
<ApplyTemplate Launch 2>
<ApplyTemplate Launch 3>
<ApplyTemplate Launch 4>
<ApplyTemplate Launch 5>
<Hotkey pause>
<sendpc local>
<If HotkeysAreOff>
<TurnHotkeysOn>
<SetButtonColors ON 0x00FF00 0x0F0F0F>
<SetButtonText ON HKN>
<Else>
<TurnHotkeysOff>
<SetButtonColors ON 0xfF0000 0xffFFff >
<SetButtonText ON off>
<EndIf>
<Hotkey Alt Ctrl A>
<Toggle>
<sendpc local>
<SetButtonColors ACT 0x00FF00 0x0F0F0F>
<SetButtonText ACT AWT>
<SetActiveWindowTrackingDelay 0>
<SetActiveWindowTracking On>
<Toggle>
<sendpc local>
<SetButtonColors ACT 0xfF0000 0xffFFff >
<SetButtonText ACT off>
<SetActiveWindowTracking Off>
<Hotkey Alt Ctrl D>
<DefaultWindowLayout>



Still pretty ugly but, much shorter, also it might prove harder to maintain if there are any bugs.

Often while playing I accidentally close a window when I meant to maximise or restore its size, so I've added hot keys for Ctrl Alt 1 - 5 to launch and rename individual windows.

If you're interested in how it works theres a version with comments on pastebin http://pastebin.com/pbgL9exG