PDA

View Full Version : [HotKeyNet] Many problems...



Bloodsman
12-17-2013, 03:29 PM
I can't seem to get things right, I've copied and replicated other's guides and for some reason nothing is working.

This is my code:

//================================================== ==============
// SAMPLE SCRIPT FOR TWO 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 147 or higher.
//
// For more info, go to www.hotkeynet.com
//================================================== ==============

//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<SetAffinity %4%>

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS while 5 boxing
// Please configure the Path and processor afinitys correctly
//-----------------------------------------------------------
<Hotkey Alt Ctrl L>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW1 1>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW2 2>
<Command ResizeAndPosition WoW1 WoW2>

<Hotkey Ctrl R>
<SendPC Local>
<Command Rename local "World of Warcraft" "WoW1">
<Command Rename local "World of Warcraft" "WoW2">



//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 5 boxing.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWinM %1%>
<SetWinRect 0 0 1920 1080>
<SendWinM %2%>
<SetWinRect 1920 0 1920 1080>

//----------------------------------------------------------------
//Window Switching
//----------------------------------------------------------------
<Hotkey F1>
<Command ResizeAndPosition WoW1 WoW2>
<Hotkey F2>
<Command ResizeAndPosition WoW2 WoW1>

//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>


//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<KeyList MyList A-Z, 0-9, Enter, Tab, Oem4, Space, Comma, Oem6 except W, A, S, D, Q, E, L>

<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2>
<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>
<Key %Trigger%>

<Hotkey c Shift LButton, MButton, RButton>
<SendLabel w1, w2>
<KeyDown shift c>
<ClickMouse %TriggerMainKey%>
<KeyUp shift>

<hotkey pause>
<sendpc local>
<ToggleHotkeys>

And here are my errors at the moment


Disregarding empty hotkey: <Hotkey Shift 6>
Disregarding empty hotkey: <Hotkey Ctrl 6>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey 7>
Disregarding empty hotkey: <Hotkey Shift 7>
Disregarding empty hotkey: <Hotkey Alt 7>
Disregarding empty hotkey: <Hotkey Ctrl 7>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey 8>
Disregarding empty hotkey: <Hotkey Shift 8>
Disregarding empty hotkey: <Hotkey Alt 8>
Disregarding empty hotkey: <Hotkey Ctrl 8>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey 9>
Disregarding empty hotkey: <Hotkey Shift 9>
Disregarding empty hotkey: <Hotkey Alt 9>
Disregarding empty hotkey: <Hotkey Ctrl 9>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey B>
Disregarding empty hotkey: <Hotkey Shift B>
Disregarding empty hotkey: <Hotkey Alt B>
Disregarding empty hotkey: <Hotkey Ctrl B>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey C>
Disregarding empty hotkey: <Hotkey Shift C>
Disregarding empty hotkey: <Hotkey Alt C>
Disregarding empty hotkey: <Hotkey Ctrl C>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey F>
Disregarding empty hotkey: <Hotkey Shift F>
Disregarding empty hotkey: <Hotkey Alt F>
Disregarding empty hotkey: <Hotkey Ctrl F>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey G>
Disregarding empty hotkey: <Hotkey Shift G>
Disregarding empty hotkey: <Hotkey Alt G>
Disregarding empty hotkey: <Hotkey Ctrl G>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey H>
Disregarding empty hotkey: <Hotkey Shift H>
Disregarding empty hotkey: <Hotkey Alt H>
Disregarding empty hotkey: <Hotkey Ctrl H>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey I>
Disregarding empty hotkey: <Hotkey Shift I>
Disregarding empty hotkey: <Hotkey Alt I>
Disregarding empty hotkey: <Hotkey Ctrl I>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey J>
Disregarding empty hotkey: <Hotkey Shift J>
Disregarding empty hotkey: <Hotkey Alt J>
Disregarding empty hotkey: <Hotkey Ctrl J>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey K>
Disregarding empty hotkey: <Hotkey Shift K>
Disregarding empty hotkey: <Hotkey Alt K>
Disregarding empty hotkey: <Hotkey Ctrl K>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey M>
Disregarding empty hotkey: <Hotkey Shift M>
Disregarding empty hotkey: <Hotkey Alt M>
Disregarding empty hotkey: <Hotkey Ctrl M>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey N>
Disregarding empty hotkey: <Hotkey Shift N>
Disregarding empty hotkey: <Hotkey Alt N>
Disregarding empty hotkey: <Hotkey Ctrl N>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey O>
Disregarding empty hotkey: <Hotkey Shift O>
Disregarding empty hotkey: <Hotkey Alt O>
Disregarding empty hotkey: <Hotkey Ctrl O>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey P>
Disregarding empty hotkey: <Hotkey Shift P>
Disregarding empty hotkey: <Hotkey Alt P>
Disregarding empty hotkey: <Hotkey Ctrl P>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Ctrl R>
Disregarding empty hotkey: <Hotkey R>
Disregarding empty hotkey: <Hotkey Shift R>
Disregarding empty hotkey: <Hotkey Alt R>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey T>
Disregarding empty hotkey: <Hotkey Shift T>
Disregarding empty hotkey: <Hotkey Alt T>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey U>
Disregarding empty hotkey: <Hotkey Shift U>
Disregarding empty hotkey: <Hotkey Alt U>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey V>
Disregarding empty hotkey: <Hotkey Shift V>
Disregarding empty hotkey: <Hotkey Alt V>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey X>
Disregarding empty hotkey: <Hotkey Shift X>
Disregarding empty hotkey: <Hotkey Alt X>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Y>
Disregarding empty hotkey: <Hotkey Shift Y>
Disregarding empty hotkey: <Hotkey Alt Y>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Z>
Disregarding empty hotkey: <Hotkey Shift Z>
Disregarding empty hotkey: <Hotkey Alt Z>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey F1>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey F2>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Comma>
Disregarding empty hotkey: <Hotkey Shift Comma>
Disregarding empty hotkey: <Hotkey Alt Comma>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Oem4>
Disregarding empty hotkey: <Hotkey Shift Oem4>
Disregarding empty hotkey: <Hotkey Alt Oem4>

Empty hotkeys were found.
Disregarding empty hotkey: <Hotkey Oem6>
Disregarding empty hotkey: <Hotkey Shift Oem6>
Disregarding empty hotkey: <Hotkey Alt Oem6>

Finished loading hotkey file.
135 errors were found
12 definitions were loaded
0 keys will be used as modifiers

Command line: AutoExec
Unable to find command AutoExec

I really want to Multibox and I don't want to waste money on it, yet I don't seem to be getting much guidance and help other than people keep linking me the same tutorials.

HPAVC
12-18-2013, 01:08 AM
This looks like you loaded in multiple configs into the runtime, i dont see all these keys defined. I assume your loading a default config automatically and then hand loading this one you posted.

Bloodsman
12-18-2013, 01:21 AM
Pretty much, yeah.

I've tried to adapt tutorials with a sample script but I don't know what I'm doing.

Khatovar
12-18-2013, 02:01 AM
<Hotkey Alt Ctrl L>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW1 1>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW2 2>
<Command ResizeAndPosition WoW1 WoW2>

<Hotkey Ctrl R>
<SendPC Local>
<Command Rename local "World of Warcraft" "WoW1">
<Command Rename local "World of Warcraft" "WoW2">

<Hotkey F1>
<Command ResizeAndPosition WoW1 WoW2>
<Hotkey F2>
<Command ResizeAndPosition WoW2 WoW1>

You can't establish a command in a hotkey. The Command needs to be established in a subroutine before it is used.

Which means the ResizeAndPosition Subroutine needs to be established before it is called - move it under the LaunchAndRename Subroutine


//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<SetAffinity %4%>

//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 5 boxing.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWinM %1%>
<SetWinRect 0 0 1920 1080>
<SendWinM %2%>
<SetWinRect 1920 0 1920 1080>

You don't have a subroutine that establishes what "Rename" does


<Hotkey Ctrl R>
<SendPC Local>
<Rename local "World of Warcraft" "WoW1">
<Rename local "World of Warcraft" "WoW2">

You either need to establish a subroutine for it or remove it.

Hotkey "c Shift ..." is not a valid key.


<Hotkey c Shift LButton, MButton, RButton>
<SendLabel w1, w2>
<KeyDown shift c>
<ClickMouse %TriggerMainKey%>
<KeyUp shift>

Modifiers need to be listed first in the hotkey. If the c's here are a typo, you need to remove them. If not, you either need to call C a key stating that you want Shift + C to be a broadcasted key - which it already is according to the Keylist and thus redundant here :


Line 85 in C:\Users\Giga-Mu-Fin\Desktop\new 2.txt: <Hotkey Shift c, LButton, MButton, RButton>
00:53:49: <Hotkey Shift C> has already been defined. Only the first definition will be used.

or define C as a modifier, which means it must added to the Keylist as an exclusion. If you actually intended on sending C, you also need to include it in the Keyup.


//================================================== ==============
// SAMPLE SCRIPT FOR TWO 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 147 or higher.
//
// For more info, go to www.hotkeynet.com
//================================================== ==============

//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<SetAffinity %4%>

//-----------------------------------------------------------
// SUBROUTINE TO Position Windows for 5 boxing.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWinM %1%>
<SetWinRect 0 0 1920 1080>
<SendWinM %2%>
<SetWinRect 1920 0 1920 1080>

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS while 5 boxing
// Please configure the Path and processor afinitys correctly
//-----------------------------------------------------------
<Hotkey Alt Ctrl L>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW1 1>
<LaunchAndRename Local "D:\Games\World of Warcraft\Wow.exe" WoW2 2>
<ResizeAndPosition WoW1 WoW2>


//----------------------------------------------------------------
//Window Switching
//----------------------------------------------------------------
<Hotkey F1>
<ResizeAndPosition WoW1 WoW2>
<Hotkey F2>
<ResizeAndPosition WoW2 WoW1>

//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>


//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<KeyList MyList A-Z, 0-9, Enter, Tab, Oem4, Space, Comma, Oem6 except W, A, S, D, Q, E, L>

<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2>
<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>
<Key %Trigger%>

<Hotkey Shift LButton, MButton, RButton>
<SendLabel w1, w2>
<KeyDown shift>
<ClickMouse %TriggerMainKey%>
<KeyUp shift>

<hotkey pause>
<sendpc local>
<ToggleHotkeys>

Bloodsman
12-19-2013, 09:05 AM
Thanks for the reply. I guess I didn't understand it enough. I'd taken a script from a tutorial and it kept returning faults like "LaunchandRename" isn't valid, it must be stated as a command or something similar to that. and that c Shift thing was taken directly from someone on this forum which appeared to be a working script.

rfarris
12-19-2013, 10:34 AM
And that's why people keep recommending ISBoxer to you -- no programming, and a helper that is paid for by your subscription.