Close
Showing results 1 to 10 of 11

Threaded View

  1. #3

    Default

    Tried that, I'm a noob when it comes to scripting.

    For this one that i tried

    Code:
    <Hotkey ScrollLockOn Ctrl R>
    <SendPC local>
    <RenameWin "World of Warcraft" WoW1>
    <RenameWin "World of Warcraft" WoWa> 
    <SendPC "PC 2 IP address">
    <RenameWin "World of Warcraft" WoW2>
    <RenameWin "World of Warcraft" WoWb>
    I have the following error. I used My IP address in the PC 2 field.

    Code:
    Finished loading hotkey file.
        No errors were found
        61 definitions were loaded
        1 key will be used as a modifier
    
    Command line: AutoExec
        Unable to find command AutoExec
    
    Installing mouse hook
        Hook installation succeeded
    
    From this pc: <SendWinM WoW1><Key Plus><SendWinM WoW2><Key Plus>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key Plus> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key Plus> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key Plus><SendWinM WoW2><Key Plus>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key Plus> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key Plus> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key R><SendWinM WoW2><Key R>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key R> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key R> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key I><SendWinM WoW2><Key I>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key I> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key I> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key T><SendWinM WoW2><Key T>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key T> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key T> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key H><SendWinM WoW2><Key H>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key H> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key H> failed: no window is targeted
    
    From this pc: <SendWinM WoW1><Key T><SendWinM WoW2><Key T>
    <SendWinM WoW1> completed: Window found. Target set to 0x240890 "WoW1"
    <Key T> completed
    <SendWinM WoW2> failed: Could not find window "WoW2"
    <Key T> failed: no window is targeted

    For this one I received the same error. I use two computers, 2 accounts so I'm not sure if that matters. I also manually start both games.

    Code:
    // Command version of the same function to rename all of the World of Warcraft Windows
    <Command RenameAllWindows>
    <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> 
    
    
    // Command version of the same function to rename all of the World of Warcraft Windows
    <Command RenameAllWindowsAlt>
    <SendPC PC 2 IP address>
    <RenameWin "World of Warcraft" WoWa> 
    <RenameWin "World of Warcraft" WoWb> 
    <RenameWin "World of Warcraft" WoWc> 
    <RenameWin "World of Warcraft" WoWd> 
    <RenameWin "World of Warcraft" WoWe>

    Maybe I'm doing it wrong. I'm unclear on the RCRTL as well. Does this mean I have to now hit the right ctrl key on my keyboard to start this? Before it was just the scroll lock key.


    This was my script when it was working before 8.0 Kind of feeling dumb now...


    Code:
    // Requires HotkeyNet build 147 or higher.
    // 
    // For more info, go to www.hotkeynet.com 
    //================================================================
    
    
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH A COPY OF WOW.
    //-----------------------------------------------------------
    <Command Launch>
       <SendPC %1%> 
          <Run "c:\Program Files\World of Warcraft\WoW.exe">
    
    
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH BOTH WOW'S.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
        <Launch Local>
        <Launch IP_ADDRESS_2>
    
    
    //-----------------------------------------------------------
    // DEFINE MAIL LABELS FOR SENDING KEY STROKES 
    //-----------------------------------------------------------
    <Label w1 Local SendWin "World of Warcraft">
    <Label w2 10.0.0.01 SendWin "World of Warcraft">
    
    
    
    
    //-----------------------------------------------------------
    // 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, F1-F12 except W, A, S, D, Q, E>
    <PassThrough> 
    <SendLabel w2>
    <Key %Trigger%> 
    
    
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn>
    <PassThrough> 
    <SendLabel w2>
    <Key %Trigger%> 
    
    
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. REQUIRES ADJUSTMENT OF
    // CLICKMOUSE DELAYS ON SETTINGS PANEL. 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>
       <PassThrough> 
       <SendLabel w2> 
          <ClickMouse %TriggerMainKey%>
    Last edited by MiRai : 09-09-2018 at 09:46 PM Reason: Formatting

Posting Rules

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