Hey guys, me again.
I'm trying to set up a HotKeyNet script that will allow me to launch 2 Wow windows in one go. I have a quick question though.
In this link, it says to copy and paste the 'World of Wacraft' folder in my Program Files and name the second one 'World of Warcraft1' and it's .exe 'WoW1.exe'.
As far as I know, this will effectively allow me to have different configurations for my main and my alt, in terms of graphics settings and AddOns, which is good.
However, I don't know how to set up a HKN script to launch the first (main) window from the original folder and the second (alt) window from the second (World of Warcraft1) folder.
I'd eventually like to be able to load both windows, with appropriate names, one from each location and have them positioned properly all in a single keydown once the script is loaded into HKN. Is this possible?
The code I have so far...
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "c:\Program Files\World of Warcraft\WoW.exe">
<RenameTargetWin WoW>
<RemoveWinFrame>
<Run "c:\Program Files\World of Warcraft1\WoW1.exe">
<RenameTargetWin WoW1>
<RemoveWinFrame>
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local "C:\Program Files\World of Warcraft\WoW.exe" WoW>
//----------------------------------------------------------------
// RENAME WINDOWS AND REMOVE BORDERS
//----------------------------------------------------------------
//<Hotkey Ctrl R>
// <toggle>
// <TargetWin WoW1>
// <RemoveWinFrame>
// <TargetWin WoW2>
// <RemoveWinFrame>
// <toggle>
// <TargetWin WoW1>
// <SetWinFrame Caption Border>
// <TargetWin WoW2>
// <SetWinFrame Caption Border>
//----------------------------------------------------------------
// SET PIP CONFIGURATION
// Usage: <SetPip BigWindowName LittleWindowName>
// This command is called by <Hotkey F1> which is defined below.
//----------------------------------------------------------------
<Command SetPip>
<TargetWin %2%>
<SetWinSize 400 300>
<SetWinPos 775 515>
<TargetWin %1%>
<SetWinPos 0 0>
<SetWinSize 1200 900>
<TargetWin %2%>
<SetForegroundWin>
<UpdateWin>
<TargetWin %1%>
<SetWinRegion 775 515 400 300>
<SetForegroundWin>
//----------------------------------------------------------------
// TOGGLE PIP CONFIG WITH HOTKEY
//----------------------------------------------------------------
<Hotkey ScrollLockOn F1>
<Toggle>
<SetPip WoW WoW1>
<Toggle>
<SetPip WoW1 WoW>
//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW>
<Label w2 Local SendWinM WoW1>
//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey ScrollLockOn A-Z, 0-9, Plus, Minus, F2-F12 except E, S, D, F, F1>
<SendLabel w1, w2>
<Key %Trigger%>
//-----------------------------------------------------------
// DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
// ADD MORE KEYS IF YOU WANT.
//-----------------------------------------------------------
//<MovementHotkey ScrollLockOn E, S, D, F>
//<SendLabel w1, w2>
//<Key %Trigger%>
//-----------------------------------------------------------
// 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>
// <ClickMouse %TriggerMainKey%>
PS: Why does this example have the 2nd to 5th WoWs loading from a temp folder? If it was done this way, would it be possible to have different graphics settings per character?
Thanks.
Connect With Us