Close
Showing results 1 to 2 of 2

Hybrid View

  1. #1

    Default [HotKeyNet] Broadcast mouse command

    I have noticed within the last week when I try to do a `+mouseclick that it is no longer broadcasting to the other windows and it always causes HKN to no longer work. I have to exit HKN to get it restart. For the last month prior to this, I had no issue with `+mouseclick.


    This is the error message that displays in HKN:
    <ClickMouse LBUTTON> failed: Specified cursor movement is relative to window but window is minimized.
    <RestoreMousePos> failed: you must use SaveMousePos in this hotkey before RestoreMousePos.

    Would switching for dx12 to dx11 cause this?


    here is my script:
    //================================================== ==============
    // 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
    //================================================== ==============

    //-----------------------------------------------------------
    // 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>
    <SendPC local>
    <RenameWin "World of Warcraft" WoW3>
    <SendPC local>
    <RenameWin "World of Warcraft" WoW4>
    <SendPC local>
    <RenameWin "World of Warcraft" WoW5>

    <Hotkey ScrollLockOn Ctrl T>
    <SendPC local>
    <RenameWin WoW1 "World of Warcraft">
    <SendPC local>
    <RenameWin WoW2 "World of Warcraft">
    <SendPC local>
    <RenameWin WoW3 "World of Warcraft">
    <SendPC local>
    <RenameWin WoW4 "World of Warcraft">
    <SendPC local>
    <RenameWin WoW5 "World of Warcraft">
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
    <SendPC %1%>
    <Run "F:\Blizzard Games\Blizzard Games\World of Warcraft\WoW.exe">
    <RenameTargetWin %2%>

    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME BOTH WOW'S.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local WoW1>
    <LaunchAndRename Local WoW2>
    <LaunchAndRename Local WoW3>
    <LaunchAndRename Local WoW4>
    <LaunchAndRename Local 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 HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn Q, E, R, F, C, v, Numpad0, Numpad1, Numpad2, Numpad5; ScrollLockOn LSHIFT R; ScrollLockOn LSHIFT E; ScrollLockOn LSHIFT C; ScrollLockOn LSHIFT Q; ScrollLockOn LSHIFT F>
    <SendLabel w1, w2, w3, w4, w5>
    <Key %Trigger%>

    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL FORMATIONS BINDS.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn 8>
    <SendLabel w1>
    <Key F1>
    <SendLabel w2>
    <Key F1>
    <SendLabel w3>
    <Key F1>
    <SendLabel w4>
    <Key F1>
    <SendLabel w5>
    <Key F1>

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

  2. #2

    Default

    I run the clients with DX11 Legacy and use the same code as you, works normally when there is no minimized windows.

    Are you trying to broadcast the click to a minimized window?

    Quote Originally Posted by Khatovar View Post
    Multiboxing is not done in fullscreen, use windowed mode. But, even using fullscreen, I can't duplicate. Your script works exactly as expected when I load it. I press anything on the numpad, both windows activate whatever is on that key. Do you have something on those keys to activate?

    Your mouse buttons don't work because in order for the mouse to broadcast, it has to have someplace to go, which it can't do with the window minimized. The mouse actually physically travels to the other window and clicks which it can't do if it can't 1 - leave the currently active window, which fullscreen is preventing it from doing and 2 - can't find the location in the second window it needs, which minimizing is preventing it from doing.

    You state you've made changes to the script and then reverted the changes, have you reloaded the script in HKN?

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •