Close
Showing results 1 to 10 of 13

Threaded View

  1. #9

    Default

    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 "****" "****">
    <LaunchAndRename Local WoW2 "****" "****">
    <LaunchAndRename Local WoW3 "****" "****">
    <LaunchAndRename Local WoW4 "****" "****">
    <LaunchAndRename Local WoW5 "****" "****">
    
    
    
    
    
    
    
    
    //---------------------------------------------------------
    
    
    --
    // 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>
    This is the latest script I am working with from the templates, are the last 3 lines defiing 012?
    Last edited by Khatovar : 05-31-2013 at 09:39 AM

Posting Rules

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