Close
Showing results 1 to 6 of 6

Threaded View

  1. #1

    Default Hotkeynet help with PiP script

    I'm hoping someone can help me figure out what is wrong with this script, it will load my 3 accounts, put them in PiP, I have the sizes just like I want them, but wow2 and wow3 aren't getting any commands. Now if I use this script to load my accounts, then switch to just a plain 4 wows on one pc script, it's perfect, but I can't toggle between them. Here's the script...

    Code:
    //-----------------------------------------------------------
    // 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>
    // SET PIP CONFIGURATION
    // Usage: <SetPip BigWindowName LittleWindowName>
    // This command is called by <Hotkey F1> which is defined below.
    //----------------------------------------------------------------
    <Command SetPip>
    <TargetWin %3%>
       <SetWinPos 1300 515>
       <SetWinSize 600 300>
       <AlwaysOnTop on>
    <TargetWin %2%>
       <SetWinSize 600 300>
       <SetWinPos 1300 215>
       <AlwaysOnTop on>
    <TargetWin %1%>
      <SetWinPos 0 0>
      <SetWinSize 1920 1080>
      <AlwaysOnTop off>
    //----------------------------------------------------------------
    // TOGGLE PIP CONFIG WITH HOTKEY
    //----------------------------------------------------------------
    <Hotkey ScrollLockOn F1>
    <Toggle>
    <SetPip WoW1 WoW2 WoW3>
    <Toggle>
    <SetPip WoW2 WoW1 WoW3>
    <Toggle>
    <SetPip WoW3 WoW1 WoW2>
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
    <SendPC %1%>
    <Run "C:\Program Files (x86)\World of Warcraft\WoW.exe">
    <RenameTargetWin %2%>
    <RemoveWinFrame>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local WoW1>
    <RemoveWinFrame>
    <LaunchAndRename Local WoW2>
    <RemoveWinFrame>
    <LaunchAndRename Local WoW3>
    <RemoveWinFrame>
    <SetPip WoW1 WoW2 WoW3>
     //-----------------------------------------------------------
     // 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>
    // HOTKEYS
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn A-Z, 0-9, Period, Comma, Oem1, Oem2, NumPad0-Numpad9, NumPadEnter, F1-F12 except W, A, S, D, J>
    <SendLabel w1, w2, w3>
    <Key %Trigger%>
    //-----------------------------------------------------------
    // Shift Modifier
    //-----------------------------------------------------------
    <Hotkey Shift ScrollLockOn A-Z, 0-9, Period, Comma, Oem1, Oem2, NumPad0-Numpad9, NumPadEnter, F1-F12>
    <SendLabel w1, w2, w3>
    <Key %Trigger%>
    //-----------------------------------------------------------
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
    // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn up, down, left, right>
    <SendLabel w1, w2, w3> 
    <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> 
          <ClickMouse %TriggerMainKey%>
    <Hotkey ScrollLockOn space>
     <SendLabel w1>
     <key space>
     <SendLabel w2, w3>
     <key space>
    
    I get 42 errors when I load it, all but one are just saying "disregarding empty hotkey", the other one is "
    <Hotkey ScrollLockOn F1> has already been defined.  Only the first definition will be used.
    
    I'm hoping someone can figure out what needs to be fixed here so my two slaves get commands sent to them. If I start my wows with this script by hitting "alt control L" then switch to this script...
    
    
                                                         //================================================================
     // SAMPLE SCRIPT FOR FOUR WOW'S ON ONE PC 
    //
     // 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>
     //-----------------------------------------------------------
     // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
     //-----------------------------------------------------------
     <Command LaunchAndRename>
        <SendPC %1%> 
          <Run "c:\Program Files\World of Warcraft\WoW.exe">
           <RenameTargetWin %2%> 
    //-----------------------------------------------------------
     // HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS
     //-----------------------------------------------------------
     <Hotkey ScrollLockOn Alt Ctrl L>
         <LaunchAndRename Local WoW1>
         <LaunchAndRename Local WoW2>
         <LaunchAndRename Local WoW3>
         <LaunchAndRename Local WoW4>
     //-----------------------------------------------------------
     // 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>
    //-----------------------------------------------------------
     // 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>
     <SendLabel w1, w2, w3, w4>
     <Key %Trigger%> 
    //-----------------------------------------------------------
     // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
     // ADD MORE KEYS IF YOU WANT. 
    //-----------------------------------------------------------
     <MovementHotkey ScrollLockOn up, down, left, right>
     <SendLabel w1, w2, w3, w4> 
    <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> 
          <ClickMouse %TriggerMainKey%>
    <Hotkey ScrollLockOn space>
     <SendLabel w1>
     <key space>
     <SendLabel w2, w3, w4>
     <key space>
    it works great, I just don't have the PiP script to toggle between them once I load this one. Any help is deeply appreciated.

    Thanks.
    Last edited by MiRai : 06-14-2012 at 10:29 AM Reason: [code] tags are your friend

Posting Rules

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