Hi, ok, in the following i will try to get you through the general HotKeyNet setup. (Btw. some crazy resoulutions you use
)
Because your setup is quite complex (switching between 5 boxing and rainding) the following scripts will be also a little bit complex, but i try to explain what they are doing, as good as i can.
First before doing anything special regarding an ftl, i want to introduce the basic HKN-Script for starting wow, resizing and positioning, window-switching and so on, sothe following has nothing to do with an FTL!
1. Staring WoWs for 5boxing and raiding
To start your WoWs put the following into your HKN-file:
Code:
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<SetAffinity %4%>
//-----------------------------------------------------------
// 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:\temp\multi\w1\wow.exe" Coltimar 1>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Marlun 2>
<LaunchAndRename Local "C:\temp\multi\w3\wow.exe" Jermayne 2>
<LaunchAndRename Local "C:\temp\multi\w4\wow.exe" Teetoe 3>
<LaunchAndRename Local "C:\temp\multi\w5\wow.exe" Jackea 3>
<ResizeAndPosition5Boxing Coltimar Marlun Jermayne Teetoe Jackea>
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS Raiding
// Please configure the Path and processor afinitys correctly
//-----------------------------------------------------------
<Hotkey Shift Ctrl L>
<LaunchAndRename Local "C:\temp\multi\w1\wow.exe" Coltimar 1>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Marlun 2>
<LaunchAndRename Local "C:\temp\multi\w3\wow.exe" Jermayne 2>
<LaunchAndRename Local "C:\temp\multi\w4\wow.exe" Teetoe 3>
<LaunchAndRename Local "C:\temp\multi\w5\wow.exe" Jackea 3>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Coventar 4>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Faxindaxis 4>
<ResizeAndPositionRaiding Coltimar Coventar Faxindaxis Marlun Jermayne Teetoe Jackea>
<Hotkey Alt Shift Ctrl L>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Coventar 4>
<LaunchAndRename Local "C:\temp\multi\w2\wow.exe" Faxindaxis 4>
<ResizeAndPositionRaiding Coltimar Coventar Faxindaxis Marlun Jermayne Teetoe Jackea>
<hotkey plus>
<sendpc local>
<ToggleHotkeys>
this basicaly defines a command 'LaunchAndRename' with 4 parameters:
1 parameter: PC to run the command on (here Local as you only use one PC)
2 parameter: program to start (here you must customize your path, for your wows)
3 parameter: Name the window should be renamed to (here I used the names of your chars to easily identify which window is which)
4 parameter: affinity - assign a specific processor to use for the wow on a multi processor system
Now three different hotkeys are defined which execute the LaunchAndRename-command depending if you are five-boxing,raiding and so on..
''alt + ctrl + L' : This is the 5boxing key, so if you press this 5 wows are startet and accordingly rersized (see below)
"shift + ctrl + L': This is the raiding-key, so if you press this 7 wows are startet and accordingly rersized (see below)
"alt + shift + ctrl +L': This is the 'i was 5 boxing but want to raid'-key, wich starts the 2 additional windows.
(for now ignore the ResizeAndPosition..-Commands, they are explained below)
Aditionally with '<hotkey plus>' a hotkey is defined to toggle HKN on/of. ('plus' can be changed to the key you like).
For the general HotKey-Definition see: HKN: Hotkey
2. Positioning / Resizing WoWs
If you looked in the above code, you may recognized the <ResizeAndPosition...>-commands used in the above code.
This commands are used to defining which window with which size to put where.
For the concept i used its to say, that my logical window numebering starts on the main screen, and goes from left to right, and up to down.
So while you are 5 boxing Jermayne would be on my logical third-screen, and while raiding Jermayne would be on my logical 5th-screen.
To position the windows accordingly use this code:
Code:
//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 5 boxing.
//-----------------------------------------------------------
<Command ResizeAndPosition5Boxing>
<SendPC Local>
<SendWin %1%><SetWinRedraw off>
<SetWinSize 1509 1105>
<SetWinPos 0 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw off>
<SendWinM %3%><SetWinRedraw off>
<SendWinM %4%><SetWinRedraw off>
<SendWinM %5%><SetWinRedraw off>
<SetWinSize 635 475>
<SetWinPos 2435 475>
<SendWinM %2%>
<SetWinSize 635 475>
<SetWinPos 1600 0>
<SendWinM %3%>
<SetWinSize 635 475>
<SetWinPos 1600 475>
<SendWinM %4%>
<SetWinSize 635 475>
<SetWinPos 2435 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw on><UpdateWin>
<SendWinM %3%><SetWinRedraw on><UpdateWin>
<SendWinM %5%><SetWinRedraw on><UpdateWin>
//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for Raiding (7 boxing).
//-----------------------------------------------------------
<Command ResizeAndPositionRaiding>
<SendPC Local>
<SendWin %1%><SetWinRedraw off>
<SetWinSize 1130 847>
<SetWinPos 0 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw off>
<SendWinM %3%><SetWinRedraw off>
<SendWinM %4%><SetWinRedraw off>
<SendWinM %5%><SetWinRedraw off>
<SendWinM %6%><SetWinRedraw off>
<SendWinM %7%><SetWinRedraw off>
<SetWinSize 635 475>
<SetWinPos 2435 475>
<SendWinM %2%>
<SetWinSize 420 315>
<SetWinPos 1130 0>
<SendWinM %3%>
<SetWinSize 420 315>
<SetWinPos 1130 315>
<SendWinM %4%>
<SetWinSize 635 475>
<SetWinPos 1600 0>
<SendWinM %5%>
<SetWinSize 635 475>
<SetWinPos 1600 475>
<SendWinM %6%>
<SetWinSize 635 475>
<SetWinPos 2435 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw on><UpdateWin>
<SendWinM %3%><SetWinRedraw on><UpdateWin>
<SendWinM %5%><SetWinRedraw on><UpdateWin>
The crazy order in which i resize and reposition screens, has to do with improving pip-switching-time by disabling all painting first, handling the 'big-window' first and then repositioning the other windows.
Feel free to change sizes and positions as you needed. For the general commands see HKN:SetWinSize or HKN:SetWinPos .
So now your WoWs are started correct and are renamed, resized and positioned, next to do is window-switching
Connect With Us