You'll need a resize and position command for setting the size and location of the windows. Here's mine, you'll have to make adjustments for the second computer since I do 5 on 1 with 2 monitors -
Code:
//----------------------------------------------------------
// WoW RESIZE AND POSITION
//----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWinM %1%>
<SetWinRect 0 0 1920 1050>
<SendWinM %2%>
<SetWinRect 1920 0 640 360>
<SendWinM %3%>
<SetWinRect 1920 360 480 270>
<SendWinM %4%>
<SetWinRect 2400 360 480 270>
<SendWinM %5%>
<SetWinRect 1920 630 480 270>
The first set of numbers is the screen position where the top left corner of the window sits. The second set of numbers is the size of the window. So window one starts at 0, 0 and is 1920*1050 {takes up my whole main screen}. The second window is at 1920, 0 which is the top left corner of my second screen and is 640*360. Third window is just below the second and is 480*270, 4th window is next to the third and is 480*270 and the 5th window is directly below the 3rd.
Adding the password is easy, you just need to tack it into the LaunchAndRename. First go back to where you define the command for LaunchAndRename and add a few things -
Code:
//----------------------------------------------------------
// WoW LAUNCH AND RENAME
//----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<wait 500>
<text %4%>
I use RemoveWinFrame to get rid of the border around each of the windows. I have a short wait command to give time for the cursor to register, but you probably don't need it. Then add another argument for the password text.
Then go back into your launch hotkey. Add the password after the window rename argument. Then add the new ResizeAndPosistion command at the end, defining the order of the windows.
Code:
//----------------------------------------------------------
// WoW *5 LAUNCH HOTKEY
//----------------------------------------------------------
<Hotkey LCtrl LAlt w>
<if WinDoesNotExist WoW1>
<LaunchAndRename Local "G:\WoW\World of Warcraft\Wow.exe" WoW1 PASSWORD>
<endif>
<if WinDoesNotExist WoW2>
<LaunchAndRename Local "G:\WoW - Healer\World of Warcraft\Wow.exe" WoW2 PASSWORD>
<endif>
<if WinDoesNotExist WoW3>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW3 PASSWORD>
<endif>
<if WinDoesNotExist WoW4>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW4 PASSWORD>
<endif>
<if WinDoesNotExist WoW5>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW5 PASSWORD>
<endif>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
As far as also pressing the login button, it can be done, but I prefer not to because of the authenticator or in case there are game updates that I need to download. I always log my main in first to see if I'm "clear" to log straight in. If so, I just toggle passing all keys and hit the Enter key to log the rest in.
At any rate, if you really want to automatically log in, just add a short wait and then the enter key to the LaunchAndRename. No arguments needed, just tack it on -
Code:
//----------------------------------------------------------
// WoW *5 LAUNCH HOTKEY
//----------------------------------------------------------
<Hotkey LCtrl LAlt w>
<if WinDoesNotExist WoW1>
<LaunchAndRename Local "G:\WoW\World of Warcraft\Wow.exe" WoW1 PASSWORD>
<wait 500>
<Key Enter>
<endif>
<if WinDoesNotExist WoW2>
<LaunchAndRename Local "G:\WoW - Healer\World of Warcraft\Wow.exe" WoW2 PASSWORD>
<wait 500>
<Key Enter>
<endif>
<if WinDoesNotExist WoW3>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW3 PASSWORD>
<wait 500>
<Key Enter>
<endif>
<if WinDoesNotExist WoW4>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW4 PASSWORD>
<wait 500>
<Key Enter>
<endif>
<if WinDoesNotExist WoW5>
<LaunchAndRename Local "G:\WoW - Slaves\World of Warcraft\Wow.exe" WoW5 PASSWORD>
<wait 500>
<Key Enter>
<endif>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
On a side note, you can also reuse the ResizeAndPosistion command to swap windows for simple things, like checking inventory or writing macros. Just change the order in which the windows are laid out -
Code:
//----------------------------------------------------------
// WINDOW SWAPPING
//----------------------------------------------------------
//* Window Swapping
<Hotkey RCtrl RAlt NumPad1>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
<Hotkey RCtrl RAlt NumPad2>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
<Hotkey RCtrl RAlt NumPad3>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
<Hotkey RCtrl RAlt NumPad4>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
<Hotkey RCtrl RAlt NumPad5>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
RCtrl RAlt NumPad1 is the normal layout, RCtrl RAlt NumPad2 swaps window 2 and window 1's position and so on. It won't work for true FTL swapping, for that you'll need to set up templates to change the leader {see olpics HKN FTL guide}, but it's very useful for when you just need to dig through bags or other non-combat stuff.
Connect With Us