Close
Showing results 1 to 2 of 2
  1. #1

    Default Setting up to 5 box again

    Hi all setting up to about to go and renew accounts and subscriptions but I cannot get HNK to work for some reason the autoload command is failing?????

    I keep getting the below errors:

    Code:
    From this pc: <SendWinM WoW1><Key Ctrl L><SendWinM WoW2><Key Ctrl L><SendWinM WoW3><Key Ctrl L><SendWinM WoW4><Key Ctrl L><SendWinM WoW5><Key Ctrl L><SendWinM WoW1> failed: Could not find window "WoW1"
    <Key Ctrl L> failed: no window is targeted
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key Ctrl L> failed: no window is targeted
    <SendWinM WoW3> failed: Could not find window "WoW3"
    <Key Ctrl L> failed: no window is targeted
    <SendWinM WoW4> failed: Could not find window "WoW4"
    <Key Ctrl L> failed: no window is targeted
    <SendWinM WoW5> failed: Could not find window "WoW5"
    <Key Ctrl L> failed: no window is targeted
    Here is my HNK script last played in wotlk btw:
    Code:
    //================================================================// FIVE WOW'S ON ONE PC// by Alcattle
    //
    // Instructions: Copy this entire script (all the blue writing
    // on gray background including comments). Save it in a file.
    // Load it into HotkeyNet.
    //
    // Toggle the scroll lock key to turn hotkeys off and on. (You
    // can change this if you want, just like you can change
    // everything else with HotkeyNet.)
    //
    // Requires HotkeyNet build 148 or higher.
    //
    // For more info, go to www.hotkeynet.com
    //================================================================
    
    
    
    
    //-----------------------------------------------------------
    // PRESS CTRL R TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Ctrl R>
    <SendPC Local>
    <RenameWin "World of Warcraft" WoW1>
    <RenameWin "World of Warcraft" WoW2>
    <RenameWin "World of Warcraft" WoW3>
    <RenameWin "World of Warcraft" WoW4>
    <RenameWin "World of Warcraft" WoW5>
    
    
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
    <SendPC %1%>
    <Run "c:\wotlk wow\WoW.exe">
    <RenameTargetWin %2%>
    <wait 1000>
    <text %3%>
    <Key tab>
    <text %4%>
    <wait 100>
    <Key Enter>
    
    
    <SetAffinity All>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local WoW1 "XXXX" "XXXX">
    <LaunchAndRename Local WoW2 "XXXX" "XXXX">
    <LaunchAndRename Local WoW3 "XXXX" "XXXX">
    <LaunchAndRename Local WoW4 "XXXX" "XXXX">
    <LaunchAndRename Local WoW5 "XXXX" "XXXX">
    
    
    //-----------------------------------------------------------
    // SUBROUTINE TO Position Windows for 5 boxing.
    //-----------------------------------------------------------
    <Command ResizeAndPosition>
    <SendPC Local>
    <SendWin %1%>
    <SetWinRect 0 0 1280 990>
    <SendWinM %2%>
    <SetWinRect 1280 0 640 512>
    <SendWinM %3%>
    <SetWinRect 1280 512 640 512>
    <SendWinM %4%>
    <SetWinRect 1920 0 640 512>
    <SendWinM %5%>
    <SetWinRect 1920 512 640 512>
    
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES.
    //-----------------------------------------------------------
    <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>
    
    
    //----------------------------------------------------------------
    //Window Switching
    //----------------------------------------------------------------
    <Hotkey F1>
    <ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F2>
    <ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F3>
    <ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F4>
    <ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    <Hotkey F5>
    <ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    
    
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <KeyList MyList A-Z, 1-9, F1-F12, except W, A, S, D>
    
    
    <Hotkey ScrollLockOn MyList except F1-F5; ScrollLockOn Alt MyList; ScrollLockOn shift MyList; ScrollLockOn ctrl MyList except r>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn space, up, down, left, right, delete>
    <SendLabel w1, w2, w3, w4, w5>
    <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, w3, w4, w5>
    <ClickMouse %TriggerMainKey%>
    
    
    //Added FTL Templates
    //%1% : Master Key
    // %2% : Slave Key
    // %3% : Modifier
    // %4% : SlavesToSend
    <Template SendMasterAndSlave>
             <SendFocusWin>
                      <Key %1%>
             <Sendlabel %4%>
                      <Key %3% %2%>
    <EndTemplate>
    // %1% : master key
    // %2% : slave key
    // %3% : modifier
    // %4% : Active window
    // %5% : Slave Windows
    <Template SendLeaderless>
            <If ActiveWinIs %4%>
                <ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
    <EndTemplate>
    
    
    // %1% : master-key
    // %2% : slave-key
    <Template FTL>
              <Hotkey %1%>     
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl rshift" WoW1 "w2,w3,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW2 "w1,w3,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW3 "w1,w2,w4,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt rshift" WoW4 "w1,w2,w3,w5">
                       <ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl" WoW5 "w1,w2,w3,w4">          
    <EndTemplate>
    
    
    //Definition of FTL keys (here 1,2,oem5 (left of 1))
    // I will use for example purpose:
    // 1 = follow
    // 0 = assist
    // 2 = dps-cast
    // (to make this work 0,1,2 has to be erased from the normal keylist!)
    <ApplyTemplate FTL 0 0>
    <ApplyTemplate FTL 1 1>
    <ApplyTemplate FTL 2 2>
    <ApplyTemplate FTL 3 3>
    <ApplyTemplate FTL 4 4>
    <ApplyTemplate FTL 5 5>
    <ApplyTemplate FTL 6 6>
    <ApplyTemplate FTL 7 7>
    <ApplyTemplate FTL 8 8>
    <ApplyTemplate FTL 9 9>

  2. #2

    Default

    Well I worked out why the load wouldn't work Alt+L isn't the command ctrl+alt+L. Forgive me been a few years Now to remember how to re-position/re size the windows

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •