Software Used‎ > ‎

HotKeyNet script

Here is what I use- if you need a GUI and the simple scripting below scares you I recommend Keyclone (beware of imitations, don't get pwned ;-)
  • My AION dual boxing script:
Note that spacebar can't seem to be broadcasted for now...
For mouse broadcast to work you need about 30 for ClickMouse delay in the hkn settings

See also how you can launch, rename and resize Aion windows from HKN

//================================================================
// SCRIPT FOR 2 AIONs on 1 PC
//
// "Pause" key turns on/off hhkn
// "Scroll Lock" toggles broadcast of every key vs keys beside
//  w s a d .... movement keys and a few others (see below 'ExList')
//
// Moorea@ymail.com
//
// You need to edit the window sizes and positions below to match
// your display
// In your ncsoft launcher options check to allow multiple instances
// of the game to be launched (advanced settings)
//================================================================

//-----------------------------------------------------------
// SUBROUTINE TO Rename and reposition 1 window
// arguments:
// 1st:  destination pc(local for local)
// 2nd:  window id (1 for first, 2 for 2nd, etc...)
// 3rd and 4th : x,y coordinates for the top corner of the window
// 5th and 6th : width and height for the window
// NOTE: I'm not removing frame yet because you need to manually
// resize the window anyway
//-----------------------------------------------------------
<Command RenameAndResize>
   <SendPC %1%>
    <RenameWin "AION Client" A%2%>
//     <RemoveWinFrame>
//    <SetWinRect %3% %4% %5% %6%>
//    <SetWinPos %3% %4%>
//    <Text %7%>
//    <Key Tab>

// The following work when ScrollLock is on :

//-----------------------------------------------------------
// CTRL R WILL RENAME AION AFTER MANUAL LAUNCH
// Start your 2 Aion clients from the launcher; once both windows
// (labelled Aion Client) are up (not the splash screen) hit
// Ctrl Alt R (hit scroll lock once first if needed)
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl R>
    <SendPc Local>
        <SetActiveWindowTrackingDelay 0>
        <SetActiveWindowTracking on>
    <RenameAndResize Local 1 400 330 1280 720 x>
    <RenameAndResize Local 2 400 1050 1280 720 x>



// editing on the fly for when 1 aion dies:
<Hotkey ScrollLockOn Alt Ctrl L>
//    <RenameAndResize Local 1 400 330 1280 720 x>
    <RenameWin "AION Client" A2>

<Hotkey ScrollLockOn Alt Ctrl T>
    <Toggle>
        <TargetWin "A1">
        <SetWinFrame None>
    <Toggle>
        <TargetWin "A1">
        <SetWinFrame ThickFrame Caption Border>
//        <SetWinFrame ThickFrame Caption Border ClientEdge>
//        <SetWinFrame ThickFrame Caption Border DlgFrame ClientEdge DlgModalFrame StaticEdge WindowEdge>   

//-----------------------------------------------------------
// DEFINE A MAIL LABEL FOR EACH AION
//-----------------------------------------------------------
<Label w0 Local SendWinM A1>
<Label w1 Local SendWinM A2>

//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL FOUR WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------


// 9 key is rotated accross each 'slaves'

<Hotkey 9>
<Toggle>
    <SendLabel w1>
    <Key %trigger%>
   <Toggle>
     <SendLabel w0>
     <Key %trigger%>

// formation key (\)
<MovementHotkey Oem5>
      <SendLabel w1> <Key Q>


//<KeyList ExList W, A, S, D, Q, E, 9, Enter, X, Space>
<KeyList ExList Tab, W, A, S, D, 9, Enter, R, F>
<KeyList MyList PgUp, PgDn, Period, B-C, G-P, T-V, Y-Z, 0-8, F1-F12, Comma, Esc, Backspace, Minus, Plus, Oem1, Oem7, Oem4, Oem6, Oem2, Home>

// turn on/off with pause:
<hotkey pause>
    <sendpc local>
    <ToggleHotkeys>

<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList; Ctrl 9>
<SendLabel w0, w1>
<Key %Trigger%>


//<MovementHotkey up, down, left, right, Space, Q, E>
//<SendLabel w0, w1>
//<Key %Trigger%>

//<MovementHotkey Space>
//  <SendLabel w0, w1>
//  <Key %Trigger%>


<Hotkey ScrollLockOn ExList; ScrollLockOn Shift ExList; ScrollLockOn Alt ExList; ScrollLockOn Ctrl ExList>
<SendLabel w0, w1>
<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. Set mouse delays to 30,30 or more
//-----------------------------------------------------------
<UseKeyAsModifier Oem3>
<Hotkey Oem3 LButton, MButton, RButton, Button4, Button5>
   <SendLabel w0, w1>
      <ClickMouse %TriggerMainKey% Both Window Scale NoRestore>

  • My World of Warcraft 5 boxing script:

//================================================================
// SCRIPT FOR FIVE WOW'S ON TWO PCs
// (modified from 4 wow on 2 pcs sample)
//
// "Pause" key turns on/off hhkn
// "Scroll Lock" toggles broadcast of every key vs keys beside
//  w s a d .... movement keys and a few others (see below 'ExList')
//
// Moorea@ymail.com
//
//================================================================
//-----------------------------------------------------------
// CTRL R WILL RENAME WOWS AFTER MANUAL LAUNCH
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl R>
    <SendPc Local>
        <RenameWin "World of Warcraft" WoWMain>
    <SendPC Local>
        <RenameWin "World of Warcraft" WoWd1>
        <RenameWin "World of Warcraft" WoWd2>
        <RenameWin "World of Warcraft" WoWd3>
        <RenameWin "World of Warcraft" WoWd4>
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
   <SendPC %1%>
      <Run "D:\Wow%2%\WoW.exe">
        <RenameTargetWin WoW%2%>
  <RemoveWinFrame>
//   <SetAffinity %3%>
 <SetAffinity all>
 <SetWinSize 1024 576>
 <SetWinPos %4% %5%>
// <Text %6%>
// <Key Tab>

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME THE WOW WINDOWS.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
   <SendPC Local>
      <SetActiveWindowTrackingDelay 0>
      <SetActiveWindowTracking on>
      <Run "D:\wow\WoW.exe">
        <RenameTargetWin WoWMain>
 <SetAffinity all>
  <RemoveWinFrame>
 <SetWinSize 1280 720>
 <SetWinPos 400 330>
// <Text x>
// <Key Tab>
    <LaunchAndRename Local d1 0 0 1050 x>
    <LaunchAndRename Local d2 1 1024 1050 x>
    <LaunchAndRename Local d3 0 0 1626  x>
    <LaunchAndRename Local d4 1 1024 1626 x>
// editing on the fly for when 1 wow dies somehow:
<Hotkey ScrollLockOn Alt Ctrl T>
//    <LaunchAndRename Local d1 0 0 0 x>
//    <LaunchAndRename Local d2 1 960 0 x>
//    <LaunchAndRename Local d4 1 960 600 x>
//    <LaunchAndRename Local d3 0 0 600 x>
   <SendPC Local>
      <Run "d:\wow\WoW.exe">
        <RenameTargetWin WoWMain>
 <SetAffinity all>
  <RemoveWinFrame>
 <SetWinSize 1280 720>
 <SetWinPos 400 330>

//-----------------------------------------------------------
// DEFINE A MAIL LABEL FOR EACH WOW
//-----------------------------------------------------------
<Label w0 Local SendWinM WoWMain>
<Label w1 Local SendWinM WoWd1>
<Label w2 Local SendWinM WoWd2>
<Label w3 Local SendWinM WoWd3>
<Label w4 Local SendWinM WoWd4>
//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL FOUR WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------

// 9 key is rotated accross each 4 'slaves'
<Hotkey 9>
<Toggle>
    <SendLabel w1>
    <Key %trigger%>
   <Toggle>
     <SendLabel w2>
     <Key %trigger%>
   <Toggle>
     <SendLabel w3>
     <Key %trigger%>
   <Toggle>
     <SendLabel w4>
     <Key %trigger%>
// formation key (\)
<MovementHotkey Oem5>
      <SendLabel w3> <Key Down><Key E>
      <SendLabel w1> <Key Q>
      <SendLabel w2> <Key E>
      <SendLabel w4> <Key Down>

<KeyList ExList W, A, S, D, Q, E, 9, Enter, X, Space>
<KeyList MyList Period, B-C, F-P, R, T-V, Y-Z, 0-8, F1-F12, Tab, Comma, Esc, Backspace, Minus, Plus, Oem1, Oem7, Oem4, Oem6, Oem2, Home>
// turn on/off with pause:
<hotkey pause>
 <sendpc local>
 <ToggleHotkeys>
<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList; Ctrl 9>
<SendLabel w0, w1, w2, w3, w4>
<Key %Trigger%>
 
<MovementHotkey up, down, left, right, Space, Q, E>
<SendLabel w0, w1, w2, w3, w4>
<Key %Trigger%>
<Hotkey ScrollLockOn ExList; ScrollLockOn Shift ExList; ScrollLockOn Alt ExList; ScrollLockOn Ctrl ExList>
<SendLabel w0, 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 Oem3 LButton, MButton, RButton, Button4, Button5>
   <SendLabel w0, w1, w2, w3, w4>
      <ClickMouse %TriggerMainKey% Both Window Scale NoRestore>
ċ
5wowbcast_loc.txt
(4k)
Private Registration,
Jul 24, 2009, 9:57 PM
Comments