Welcome Guest (Log In | Register)


Go Back   Dual-Boxing.com Forums > Welcome to the World Of Multiboxing New? Start here! > Software Tools
Register FAQ Members List Search Today's Posts Mark Forums Read

Software Tools Request community assistance with your software tools

Reply
Guide: HowTo use HotKeyNet for boxing 
Thread Tools Display Modes
Old 06-15-2009, 05:35 PM   Post #1
Freddie
Member
 
Freddie's Avatar
 
Join Date: Aug 2007
Location: New York City
Posts: 1530
Default

There's no issue with XP.

This particular PIP script works by (1) making a hole in the big window and (2) putting the little window in the exact same spot as the hole.

The screenshot shows that you're putting the hole and window in different places. That's the cause of the problem.

There are two ways to solve the problem. You can either use the same numbers for the hole and little window so they'll be in the same spot. Or else you can stop making the hole (remove SetWinRegion from the script) and instead, use AlwaysOnTop to keep the little window on top of the big one.
__________________
�Author of HotkeyNet and Mojo
Freddie is offline   Reply With Quote
Old 06-26-2009, 03:59 PM   Post #2
CommanderChaos
Member
 
Join Date: Nov 2008
Posts: 37
Default 5-box HKN ftl script

I thought I'd share my full script implementing "ftl" for Hotkeynet. I'm running Win7 64-bit, and using 4 small pip screens in the bottom two corners of my main 1920 x 1200 screen. I have 5 separate folders for my WoW instances for keeping my configs and addons separate. Hope this might be of use to someone. This has been rock solid for me.
Code:
 
//----------------------------------------------------------- 
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW. 
//----------------------------------------------------------- 
<Command LaunchAndRename> 
<SendPC %1%> 
<Run "%2%:\World of Warcraft %3%\WoW.exe"> 
<RenameTargetWin %4%> 
<RemoveWinFrame> 
//----------------------------------------------------------- 
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS 
//----------------------------------------------------------- 
<Command ResizeAndPosition> 
<SendPC Local> 
<SendWin %1%> 
<SetWinSize 1920 1200> 
<SetWinPos 0 0> 
<SetWinRegion 0 1050 240 150> 
<SetWinRegion 240 1050 240 150> 
<SetWinRegion 1440 1050 240 150> 
<SetWinRegion 1680 1050 240 150> 
<SendWinM %2%> 
<SetWinSize 240 150> 
<SetWinPos 0 1050> 
<SendWinM %3%> 
<SetWinSize 240 150> 
<SetWinPos 240 1050> 
<SendWinM %4%> 
<SetWinSize 240 150> 
<SetWinPos 1440 1050> 
<SendWinM %5%> 
<SetWinSize 240 150> 
<SetWinPos 1680 1050> 
<Hotkey ScrollLockOn RCtrl L> 
<LaunchAndRename Local E 1 WoW1> 
<LaunchAndRename Local E 2 WoW2> 
<LaunchAndRename Local E 3 WoW3> 
<LaunchAndRename Local E 4 WoW4> 
<LaunchAndRename Local E 5 WoW5> 
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5> 
//----------------------------------------------------------- 
// 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> 
//----------------------------------------------------------- 
// DEFINE ASSIST COMMAND FUNCTIONS 
//----------------------------------------------------------- 
<command main1> 
<SendPC Local> 
<Sendwin WoW1> 
<Key %all%> 
<command assist1> 
<SendPC Local> 
<SendWinM WoW2> 
<Key RCtrl %1%> 
<SendWinM WoW3> 
<Key RCtrl %1%> 
<SendWinM WoW4> 
<Key RCtrl %1%> 
<SendWinM WoW5> 
<Key RCtrl %1%> 
<command main2> 
<SendPC Local> 
<SendWin WoW2> 
<Key %all%> 
<command assist2> 
<SendPC Local> 
<SendWinM WoW1> 
<Key RAlt %1%> 
<SendWinM WoW3> 
<Key RAlt %1%> 
<SendWinM WoW4> 
<Key RAlt %1%> 
<SendWinM WoW5> 
<Key RAlt %1%> 
<command main3> 
<SendPC Local> 
<SendWin WoW3> 
<Key %all%> 
<command assist3> 
<SendWinM WoW1> 
<Key RShift %1%> 
<SendWinM WoW2> 
<Key RShift %1%> 
<SendWinM WoW4> 
<Key RShift %1%> 
<SendWinM WoW5> 
<Key RShift %1%> 
<command main4> 
<SendPC Local> 
<SendWin WoW4> 
<Key %all%> 
<command assist4> 
<SendWinM WoW1> 
<Key RShift RCtrl %1%> 
<SendWinM WoW2> 
<Key RShift RCtrl %1%> 
<SendWinM WoW3> 
<Key RShift RCtrl %1%> 
<SendWinM WoW5> 
<Key RShift RCtrl %1%> 
<command main5> 
<SendPC Local> 
<SendWin WoW5> 
<Key %all%> 
<command assist5> 
<SendWinM WoW1> 
<Key RShift RAlt %1%> 
<SendWinM WoW2> 
<Key RShift RAlt %1%> 
<SendWinM WoW3> 
<Key RShift RAlt %1%> 
<SendWinM WoW4> 
<Key RShift RAlt %1%> 
? 
//---------------------------------------------------------------- 
//Window Switching 
//---------------------------------------------------------------- 
<Hotkey ScrollLockOn F1> 
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5> 
<Main1 %trigger%><Assist1 %trigger%> 
<Hotkey ScrollLockOn F2> 
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5> 
<Main2 %trigger%><Assist2 %trigger%> 
<Hotkey ScrollLockOn F3> 
<ResizeAndPosition WoW3 WoW1 WoW2 WoW4 WoW5> 
<Main3 %trigger%><Assist3 %trigger%> 
<Hotkey ScrollLockOn F4> 
<ResizeAndPosition WoW4 WoW1 WoW2 WoW3 WoW5> 
<Main4 %trigger%><Assist4 %trigger%> 
<Hotkey ScrollLockOn F5> 
<ResizeAndPosition WoW5 WoW1 WoW2 WoW3 WoW4> 
<Main5 %trigger%><Assist5 %trigger%> 
//----------------------------------------------------------- 
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET 
// SENT TO ALL WOWS. ADD MORE KEY COMBO'S IF YOU WANT. 
//----------------------------------------------------------- 
//<Hotkey ScrollLockOn A-Z, 0-9, Tab, F1-F12 except W, A, S, D, Q, E> 
//<SendLabel w1, w2, w3, w4, w5> 
//<Key %Trigger%> 
<Hotkey ScrollLockOn 0-9, Tab, Minus, Plus, Numpad0-Numpad9, NumpadMinus, Divide, Multiply, Numpadplus, PgUp, PgDn, Home, End, Insert, Oem6, F6-F12> 
<If ActiveWinIs WoW1> <Main1 %trigger%><Assist1 %trigger%> 
<Else If ActiveWinIs WoW2> <Main2 %trigger%><Assist2 %trigger%> 
<Else If ActiveWinIs WoW3> <Main3 %trigger%><Assist3 %trigger%> 
<Else If ActiveWinIs WoW4> <Main4 %trigger%><Assist4 %trigger%> 
<Else If ActiveWinIs WoW5> <Main5 %trigger%><Assist5 %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, 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%> 
?
CommanderChaos is offline   Reply With Quote
Old 06-26-2009, 04:37 PM   Post #3
CommanderChaos
Member
 
Join Date: Nov 2008
Posts: 37
Default

As a followup, here's two essential macros to go with the above HKN script:


Code:
Macro to be placed on my button 9 of hotbar 1 (I'm using Bartender4): 

/targetexact [nomod:rshift,mod:rctrl,target=WoW1toon] [nomod:rshift,mod:ralt,target=WoW2toon] [nomod:rctrl,nomod:ralt,mod:rshift,target=WoW3toon] [mod:rctrl,mod:rshift,target=WoW4toon] [mod:ralt,mod:rshift,target=WoW5toon] 

Macro placed on whatever key I want to use to make all toons follow the leader (and target the leaders' target): 

/petpassive 
/stopmacro [nomod] 
/click BT4Button9 
/follow 
/tar [target=targettarget] 

This is the most basic form for most any other spell macro: 

#showtooltip 
/click BT4Button9 
/tar [mod,target=targettarget] 
/startattack [harm] 
/cast [harm]Smite;[help]Lesser Heal
CommanderChaos is offline   Reply With Quote
Old 07-13-2009, 05:44 PM   Post #4
Onko
Junior Member
 
Join Date: Nov 2008
Posts: 6
Default

Hi, I want to share my HKN script too.

I run 5 chars on a core i7 cpu with 16MB of RAM, vista64 and 2 graphic cards with 2 monstrous 27" monitors 8)
I start all accounts from the same directory. I do not need to separate addons, because I use very few. Currently I have only healbot, CT-Mod core module, Atlas and Jamba installed. Jamba is absolutely cool for multiboxing :thumbsup:

The speciality of my script is that I can turn on synchronous mode to let all chars chat or emote the same.

Pause turns HKN on/off.

PrintScreen and ScrollLock controll keyboard transmission to one/all windows. Target of this was to be able to chat without breaking follow of the slave chars. So if you press enter or shift 7 to enable the input line, a flag is set and all normal keys are no longer transmitted to the slave windows (space, q, w, e,...). After you leave the input line, everything is to normal.
Sometimes you want to make the group act syncronous, (/dance, /chicken,...) Press printscreen once, press enter, type "/dance", press enter, Tadaaa!
To disable synchronization, press printscreen once more.
A lot of normal keyboard commands are not transmitted to the slave windows. But sometimes you want to open all pockets of all chars at once, or whatever. Press printscreen, press scrolllock, then anything you like. Don't forget to press printscreen and scrolllock again after you are done

With ctrl alt w you can start 5 clients of WoW. If any of the clients are open allready, that one is skipped.

With capslock the group disperses a little so the chars are no longer standing all on the same spot. It has the nice side effect that you will never again shout in chat

F1-F5 do no longer target the group members. Instead, they make window1-window5 of the different accounts act as main window and let them switch places.

Sone other keys are defined for other actions, they are described in the script.


Code:
// HotKeyNet on/off!
<Hotkey Pause>
  <ToggleHotkeys>
  <DisplayVars>
  <SendPC local>
	<Cancel>


// Subroutine starts WoW and logs in
<Command WoWStart>
  <Run %1%>
  <WaitForWin "World of Warcraft" 20000>
  <WaitForWinEnabled 20000><wait 2000>
  <SetFocusWin>
  <SendWinSF "World of Warcraft">
  <Key Backspace><wait 500>
  <SendWin "World of Warcraft">
  <SetAffinity %5% %6%>
  <Text %3%><wait 100><Key tab><wait 100><Text %4%><wait 100><Key Enter><wait 500>
  <RenameWin "World of Warcraft" %2%>
  <WaitForWin %2% 20000>

<Command script>
  <Key shift 7><wait 100><Text script %1%><wait 100><Key enter>
<Command cmd>
  <wait 300><Key shift 7><wait 100><Text %1%><wait 1000><Key enter>


// move windows to their place
<Command OrderWin>
  <SendPC local>
  <TargetWin %1%><SetWinRect -1280 168 1280 1024>
  <SetFocusWin>
  <TargetWin %2%><SetWinRect 0 0 800 590>
  <TargetWin %3%><SetWinRect 800 0 800 590>
  <TargetWin %4%><SetWinRect 0 590 800 590>
  <TargetWin %5%><SetWinRect 800 590 800 590>

   
// Eingabezeilenmodus trigger
<Hotkey ScrollLock>
  < 	if kz is -->	<SetVar kz e->
  <else if kz is -m>	<SetVar kz em>
  <else if kz is e->	<SetVar kz -->
  <else if kz is em>	<SetVar kz -m>
  <endif>

// Multichatmodus trigger
<Hotkey PrintScreen>
  < 	if kz is -->	<SetVar kz -m>
  <else if kz is -m>	<SetVar kz -->
  <else if kz is e->	<SetVar kz em>
  <else if kz is em>	<SetVar kz e->
  <endif>


<Hotkey F1>
  <OrderWin wow1 wow2 wow3 wow4 wow5>
<Hotkey F2>
  <OrderWin wow2 wow1 wow3 wow4 wow5>
<Hotkey F3>
  <OrderWin wow3 wow1 wow2 wow4 wow5>
<Hotkey F4>
  <OrderWin wow4 wow1 wow2 wow3 wow5>
<Hotkey F5>
  <OrderWin wow5 wow1 wow2 wow3 wow4>


<label win1 local SendWinM wow1>
<label win2 local SendWinM wow2>
<label win3 local SendWinM wow3>
<label win4 local SendWinM wow4>
<label win5 local SendWinM wow5>
<label mwin1 local SendWinS wow1>
<label mwin2 local SendWinS wow2>
<label mwin3 local SendWinS wow3>
<label mwin4 local SendWinS wow4>
<label mwin5 local SendWinS wow5>
<label current local SendFocusWin>


// synchron chat and commands
//kz indicates if commandline or not
<hotkey Enter; NumpadEnter>
  <DoHotkey Hotkey ScrollLock>
  <if kz is -m>
	<SendLabel win1, win2, win3, win4, win5>
  	<Key %Trigger%>
  <else if kz is em>
	<SendLabel win1, win2, win3, win4, win5>
  	<Key %Trigger%>
  <else>
	<SendPC local>
  	<SendFocusWin>
    	<Key %Trigger%>
  <endif>

<hotkey b-c; f-p; r; t-v; x-z>
  <if kz is em>
  <SendLabel win1, win2, win3, win4, win5>
	<Key %Trigger%>
  <else>
	<SendLabel current>
  	<Key %Trigger%>
  <endif>

<hotkey shift a-z>
  <if kz is em>
  <SendLabel mwin1, mwin2, mwin3, mwin4, mwin5>
	<key %Trigger%>
  <else>
	<SendLabel current>
  	<Key %Trigger%>
  <endif>

<hotkey shift 7>
  <if kz is -m>
   <SendLabel mwin1, mwin2, mwin3, mwin4, mwin5>
	<DoHotkey Hotkey ScrollLock>
	<key shift 7>
  <else if kz is -->
   <SendLabel current>
	<DoHotkey Hotkey ScrollLock>
	<key shift 7>
  <else if kz is em>
   <SendLabel mwin1, mwin2, mwin3, mwin4, mwin5>
   <key divide>
  <else if kz is e->
   <SendLabel current>
   <key divide>
  <endif>


// turn camera 180 assigned to Backspace. Very useful
<hotkey Backspace; Delete>
  <if kz is em>
  <SendLabel win1, win2, win3, win4, win5>
	<Key %Trigger%>
  <else>
	<SendLabel current>
  	<Key %Trigger%>
  <endif>


// Movement ALL chars
<MovementHotkey q; w; e; a; s; d; space>
  <if kz is e->
	<SendLabel current>
  	<Key %Trigger%>
  <else>
  <SendLabel win1, win2, win3, win4, win5>
	<Key %Trigger%>

// Movement Slaves only
<MovementHotkey Numpad8>
  <Sendlabel win2, win3, win4, win5>
	<Key up>
<MovementHotkey Numpad2>
  <Sendlabel win2, win3, win4, win5>
	<Key down>
<MovementHotkey Numpad4>
  <Sendlabel win2, win3, win4, win5>
	<Key left>
<MovementHotkey Numpad6>
  <Sendlabel win2, win3, win4, win5>
	<Key right>


// follow groupleader (WoW Follow Macro assigned to this key)macrocall
<hotkey decimal>
  <SendLabel win2, win3, win4, win5>
	<Key %Trigger%>

// ^ assist groupleader (WoW Assist Macro assigned to this key)macrocall
<hotkey OEM5>
  <if kz is e->
	<SendLabel current>
  	<Key %Trigger%>
  <else if kz is em>
	<SendLabel mwin1, mwin2, mwin3, mwin4, mwin5>
  	<Key %Trigger%>
  <else>
	<SendLabel win2, win3, win4, win5>
  	<Key F2><Key F>
	<SendLabel win1, win2, win3, win4, win5>
  	<Key G>
  <endif>


// attack key bar (the main left bottom bar)
<hotkey 0-9; OEM4; OEM6>
  <if kz is e->
	<SendLabel current>
  	<Key %Trigger%>
  <else>
	<SendLabel win1, win2, win3, win4, win5>
  	<Key %Trigger%>
  <endif>

// support key bar (in WoW I assigned these keys to the right bottom bar)
<hotkey ctrl alt 0-9>
  <SendLabel win1, win2, win3, win4, win5>
	<Key %Trigger%>

// stop follow
// capslock - master nothing, slaves disperse
<HotKey capslock>
  <if kz is e->
  <else if kz is em>
  <else>
  <SendPC local>
	<SendWinM wow1><KeyDown down>
	<SendWinM wow2><KeyDown down>
	<SendWinM wow3><KeyDown down>
	<SendWinM wow4><KeyDown down>
	<SendWinM wow5><KeyDown down>
	<wait 10>
	<SendWinM wow2><KeyDown q>
	<SendWinM wow3><KeyDown e>
	<SendWinM wow4><KeyDown q>
	<SendWinM wow5><KeyDown e>
	<wait 160>
	<SendWinM wow1><KeyUp down>
	<SendWinM wow2><KeyUp q>
	<SendWinM wow3><KeyUp e>
	<SendWinM wow4><KeyUp down>
	<SendWinM wow5><KeyUp down>
	<wait 110>
	<SendWinM wow2><KeyUp down>
	<SendWinM wow3><KeyUp down>
	<SendWinM wow4><KeyUp q>
	<SendWinM wow5><KeyUp e>
  <endif>

<Hotkey ctrl alt w>
  <SendPC local>
  <if WinDoesNotExist wow1>
	<WoWStart "D:\Programme\Spiele\World of Warcraft\wow.exe" wow1 user1 password1 0 2>
  <endif>
  <if WinDoesNotExist wow2>
	<WoWStart "D:\Programme\Spiele\World of Warcraft\wow.exe" wow2 user2 password2 1 3>
  <endif>
  <if WinDoesNotExist wow3>
	<WoWStart "D:\Programme\Spiele\World of Warcraft\wow.exe" wow3 user3 password3 4 6>
  <endif>
  <if WinDoesNotExist wow4>
	<WoWStart "D:\Programme\Spiele\World of Warcraft\wow.exe" wow4 user4 password4 5 7>
  <endif>
  <if WinDoesNotExist wow5>
	<WoWStart "D:\Programme\Spiele\World of Warcraft\wow.exe" wow5 user5 password5 5 6>
  <endif>
  <wait 2000>
  <OrderWin wow1 wow2 wow3 wow4 wow5>
  <SetVar kz -->
Onko is offline   Reply With Quote
Old 02-21-2010, 10:41 PM   Post #5
lorddread
Member
 
Join Date: Oct 2009
Posts: 22
Default

Hi trying to figure out how to use the
The No Focus Manifesto v 2.0
its from this post on here with hotkeynet
http://www.dual-boxing.com/showthread.php?t=25679
On page 3 i put some stuff in and asked if it would work in hotkeynet but since no one using it prob reads that topic thought i would ask here for some help on it. And don't want to double post so am putting the link to it above. My question is on page 3 of that topic.
Any help would he greatly appreciated.
Thanks in advance
lorddread is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lotro Dual-Boxing Howto KrunkTheMadMan New Multi-Boxers & Support 2 04-02-2009 01:27 AM
2 Boxing, 1-60 guide RAF guide? pinnacle2009 New Multi-Boxers & Support 1 03-18-2009 06:59 PM
Beginners Guide 2 Dual-Boxing (3,4,5 boxing) piejoh77 New Multi-Boxers & Support 78 03-12-2009 02:17 AM
Just started dual-boxing a few days ago, NO keyclone/hotkeynet, etc (edited) jheinn New Multi-Boxers & Support 13 09-12-2008 12:54 PM
Dual-Boxing / Multi-Boxing leveling guide Ziie General Discussion 3 09-06-2007 11:45 AM


All times are GMT -5. The time now is 07:52 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
All Images © 2007-2009 dual-boxing.com All Screenshots © Their Respective Owners. All Rights Reserved.Ad Management plugin by RedTyger