Log in

View Full Version : [WoW] [Wow] [Hotkeynet] MButton, WheelForward, WheelBackward



Baldry
05-11-2019, 04:25 PM
Hello, i am new to Hotkeynet and i like it a lot. The only thing that is NOT working for me is broadcasting my mouse wheel and middle button. Any help would be apprecited.


//-----------------------------------------------------------// PRESS CTRL R, CTRL R, CTRL T TO RENAME WOW'S IF YOU LAUNCH THEM MANUALLY
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl R>
<SendPC local>
<RenameWin "World of Warcraft" WoW1>
<SendPC local>
<RenameWin "World of Warcraft" WoW2>


<Hotkey ScrollLockOn Ctrl T>
<SendPC local>
<RenameWin WoW1 "World of Warcraft">
<SendPC local>
<RenameWin WoW2 "World of Warcraft">
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "">
<RenameTargetWin %2%>

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local WoW1>
<LaunchAndRename Local WoW2>

//-----------------------------------------------------------
// 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 BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey ScrollLockOn MButton, WheelForward, WheelBackward, A-Z, 0-7, Numpad0-Numpad9, Oem2, Tab, Esc, LShift, Enter, Backspace, Space, Plus, Minus, F1-F12 except Q, E, W, A, S, D; ScrollLockOn Shift A-Z; ScrollLockOn Shift 0-9>
<SendLabel w1, w2>
<Key %Trigger%>




i am using HotkeyNet 210 (http://www.hotkeynet.com/down/hotkeynet_210.zip) Downloaded from:
http://www.hotkeynet.com/p/download.html
EDIT: About says "Beta version 0.1.45 build 210"

in the logs i can see:

From this pc: <SendWinM WoW1><Key WheelBackward><SendWinM WoW2><Key WheelBackward>
<SendWinM WoW1> completed: Window found. Target set to 0x39053A "WoW1"
<Key WheelBackward> completed
<SendWinM WoW2> completed: Window found. Target set to 0xC07F8 "WoW2"
<Key WheelBackward> completed


From this pc: <SendWinM WoW1><Key WheelForward><SendWinM WoW2><Key WheelForward>
<SendWinM WoW1> completed: Window found. Target set to 0x39053A "WoW1"
<Key WheelForward> completed
<SendWinM WoW2> completed: Window found. Target set to 0xC07F8 "WoW2"
<Key WheelForward> completed

But nothing is happing on the other client.

Curryman
05-12-2019, 01:16 AM
Hi,

Disclaimer: I could be totally wrong but here goes...
Oh also create a backup of your script just in case

I think you need to separate the mouse buttons from the keyboard hotkeys. Try adding this:


<Hotkey ScrollLockOn MButton, WheelForward, WheelBackward>
<SendLabel w1, w2>
<ClickMouse %Trigger%>

I'm not really sure if ClickMouse is needed, since Mbutton and the Wheel buttons don't need to know where your mouse cordinates are, but uhh sure give it a try.

And delete your mouse hotkeys from your key hotkeys so that your script doesn't try to load two actions for the same hotkey. With those removed it would look like this:


//-----------------------------------------------------------
// 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-7, Numpad0-Numpad9, Oem2, Tab, Esc, LShift, Enter, Backspace, Space, Plus, Minus, F1-F12 except Q, E, W, A, S, D; ScrollLockOn Shift A-Z; ScrollLockOn Shift 0-9>
<SendLabel w1, w2>
<Key %Trigger%>


Give it a try and let me know how it goes. Sorry if there's any errors. If you have any side mouse buttons, you could also try experimenting with Button4, Button5, etc.


Further reading: http://www.hotkeynet.com/wow/wow-mouse.html

Baldry
05-12-2019, 02:44 AM
Thanks for the response.

With "ClickMouse" nothing happend, with Key they are transmitted (i can see them in the log) but nothing is happening) I just released on BOTH clients nothing is happening. I think it's a game error not a software error. The game doesn't know what to do with the input (because not even the main client where my focus is is doing something).