Close
Showing results 1 to 6 of 6

Hybrid 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

  2. #2

    Default

    Ok, first thing is you don't have a hole punched for your PiP, you've just forced your slave windows on top, which is not how you want to do things. It puts your master window as a background window, which means it's going to get crappy performance.

    The "Empty Hotkeys" messages are because you already defined F1 as a hotkey for your PiP. Removing F1 from the Hotkey definition will clear all of the errors. I'd also suggest using a Keylist instead of defining all those keys separately with a shift modifier.

    Don't define Space as a hotkey. It should be defined as a movement key, otherwise the key won't be sustained, which means it won't work for moving up in the air while flying or while swimming.

    On the same note, you have A-Z except WASD being sent. Q, E and X should also be excluded with at least X moved to the Movement keys. Q and E are strafe left and right, you will still want that ability on your master {I also use it on my slaves, so I define them as movement keys as well}. X is down, which you may need for swimming and flying on occasion.

    I would also add Esc as a key so you can access the game menu, cancel casting, clear targets, clear windows and whatever else you can use Esc for in the game.


    I'd also add a stop broadcasting toggle in there, just to make things easier. I use Pause.

    Here's the updated version of your script. NOTES ARE COMMENTED OUT AND IN BOLD RED. You should delete my notes before loading 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 %2%>
    		<SetWinSize 600 300>
    		<SetWinPos  1300 515>
    	<TargetWin %3%>
    		<SetWinSize 600 300>
    		<SetWinPos  1300 215>
    	<TargetWin %1%>
    		<SetWinSize 1920 1080>
    		<SetWinPos 0 0>  // THIS IS ONLY HALF OF IT, YOU NEED THE NEXT PART, TOO
    	<TargetWin %2%>
    		<SetForegroundWin>
    		<UpdateWin>
    	<TargetWin %3%>
    		<SetForegroundWin>
    		<UpdateWin>
    	<TargetWin %1%>
    		<SetWinRegion 1300 215 600 600> // THIS IS THE HOLE YOU NEED TO PUNCH IN THE MAIN WINDOW
    		<SetForegroundWin>
    
     
     //------------
     // TOGGLE PIP CONFIG WITH HOTKEY
     //------------
     <Hotkey ScrollLockOn F1> // THIS IS WHERE YOU DEFINED 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> // YOU HAD A 4TH WINDOW DEFINED HERE. DELETED
     
     
     // HOTKEYS
     //--------------
    
    //FIRST, WE DEFINE A KEYLIST CALLED MYLIST INSTEAD OF USING HOTKEYS
    
     <KeyList MyList A-Z, 0-9, Period, Comma, Oem1, Oem2, NumPad0-Numpad9, NumPadEnter, F2-F12, Esc except W, A, S, D, J, Q, E, X>
    
    // F1 HAS BEEN DELETED FROM THE LIST SINCE IT'S ALREADY DEFINED. Q, E AND X HAVE BEEN ADDED TO THE EXCLUDE
    
    
    // NOW WE CAN DEFINE THE HOTKEYS AND MODIFIERS USING THE KEYLIST INSTEAD OF MAKING A WHOLE LIST FOR EACH MODIFIER
     
     <Hotkey ScrollLockOn MyList; ScrollLockOn Shift MyList>
    	  	 <SendLabel w1, w2, w3>
       	<Key %Trigger%>
    
    
     //---------------
     // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
     // ADD MORE KEYS IF YOU WANT. 
     //---------------
    
    // SPACE AND X ADDED TO THE MOVEMENT KEYS. ADD Q AND E IF YOU WANT THOSE KEYS TO PASS TO SLAVES FOR STRAFING.
    
     <MovementHotkey ScrollLockOn up, down, left, right, space, X> 
     <SendLabel w1, w2, w3> 
     <Key %Trigger%>
    
    // USE PAUSE TO TOGGLE BROADCASTING ON AND OFF WHEN TYPING IN THE CHAT WINDOW OR ANYTIME YOU DON'T WANT EVERYONE RESPONDING TO KEYSTROKES.
    
    //------------------
    //TOGGLE HKN MUTE
    //------------------
    <hotkey Pause>
    	<sendpc local>
    		<ToggleHotkeys>
    
    
     //-----------------------------------------------------------
     // 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%>
    
    // SPACE DELETED BECAUSE IT SHOULD BE DEFINED IN MOVEMENTHOTKEY

    You might also want to take a look at my HotKeyNet guide in my sig for a better grasp of what's going on. It also contains links to tons of other HotKeyNet stuff.
    Last edited by Khatovar : 06-14-2012 at 12:32 AM
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  3. #3

    Default

    Thank you so much for taking time out for me and fixing that. I really appreciate you. You are awesome and it works beautifully. Only thing I added was "Equal, Minus" keys and it works flawlessly now!

    Thank you so much and I bookmarked your guides and will be studying up.
    Last edited by Kemosabe : 06-14-2012 at 02:10 AM Reason: typos

  4. #4

    Default

    Glad to help
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  5. #5

    Default

    It's a shame the password feature was removed in build 148: http://hotkeynet.com/p/encrypt-log-on.html

    The note suggests people should request the feature be re-implemented.
    Last edited by S4M04NSL4Y3R : 07-21-2019 at 07:48 PM Reason: Previous feature was removed

  6. #6

    Default

    Quote Originally Posted by S4M04NSL4Y3R View Post
    It's a shame the password feature was removed in build 148: http://hotkeynet.com/p/encrypt-log-on.html

    The note suggests people should request the feature be re-implemented.
    Please do not unnecessarily necro threads from 7 years ago.

    Additionally Hotkeynet has been out of development for a number of years and there will not be any changes, updates or fixes coming to it in the foreseeable future.

Posting Rules

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