Log in

View Full Version : [HotKeyNet] Trouble getting the keys to coordinate.



Treval
10-26-2013, 06:32 AM
I'm having trouble getting any keys but the ones for movement to effect any character but the master. I'm not sure why - other than I'm probably doing something wrong - but I was hoping someone could help me figure it out?

The program is showing a few errors, all of which are "text was found outside <> symbols; that's not allowed." next to things like <SendLabel w1, w2> but there's no text there that I can see.


I'm using the 2 accounts 1 computer sample script from the HotKeyNet site, if that helps any.


//-----------------------------------------------------------//DEFINE MAIL LABELS FOR SENDING KEYSTROKES
//-----------------------------------------------------------
<Labelw1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>

//-----------------------------------------------------------
// 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>
<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, w, s, a, d, q, e>
<SendLabel w1, w2>
<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>
<ClickMouse %TriggerMainKey%>

Khatovar
10-26-2013, 06:47 AM
I changed 2 things and there were no more errors. There needs to be a line break in the first line


//-----------------------------------------------------------
//DEFINE MAIL LABELS FOR SENDING

and a space between "Label" and "w1"


<Label w1 Local SendWinM WoW1>

Outside that, it looks like there is missing code required to rename the windows. I didn't get any errors about text outside of the <>'s before or after making the above changes. It looks like roughly half the script it missing.

Poorpirate
11-05-2013, 03:21 PM
You need to rename the wow windows so this code can send the keys to those windows


//-----------------------------------------------------------
// 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>