Log in

View Full Version : hitting pause triggers autorun (win7)



dubiox
07-22-2009, 03:14 PM
Hi. I just consolidated two slow PCs into one fast one. I have been using HKN all along and it worked great before on vista. I am now running it on windows 7.

Now when I hit the Pause key the toon in the window with focus will start autorunning.

I checked the blizzard keybindings for autorun and it had NumLock and Button4. The new PC had a mouse with buttons on the sides, and if I hit one of those side buttons it would autorun. I didn't like the mouse so I went back to my normal 3 button scrollwheel mouse.

I removed both those bindings and then enabled NumLock again as autorun and the problem still happens. It doesn't always do it, but I can guarantee it will happen if I change focus to another toon by clicking on it and then hitting Pause.

Here are the some relevant lines from my HKN script. I can post the whole thing if necessary. Notice I do not pass NumLock.

<hotkey pause>
<sendpc local>
<ToggleHotkeys>

<KeyList MyList A-W, Y, Z, 0-9, Enter, Oem1, Oem2, Oem3, Oem4, Oem5, Oem6, Oem7, F1-F7, Backspace, Comma, Minus, Plus, Period, except 1, 2, 5, D, E, Z, Home, Tab, NumLock, Esc>

<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList; Alt Shift MyList>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

Thanks,
-K

Freddie
07-22-2009, 03:36 PM
Could you please:

1. Load your script into HotkeyNet.

2. Select "Show hotkey definition" on the Actions Menu.

3. Press Pause.

4. A window should open with the definition of <Hotkey Pause>.

5. Could you please copy the complete text from that window and paste it here? Thanks.

dubiox
07-22-2009, 04:21 PM
Right after my original post I changed my pause key to NumpadMinus and it worked fine. I just switched it back to Pause so I could answer your question.

<Hotkey Pause>
<SendPC local>
<ToggleHotkeys>


I will go back in the game and confirm there is still a problem when I use Pause.

-K

dubiox
07-22-2009, 04:23 PM
confirmed. I can reproduce this at will.

-K

Freddie
07-22-2009, 04:56 PM
Thanks. Are you using build 176?

Freddie
07-22-2009, 05:03 PM
You found a bug. Thanks for reporting it. I'm able to reproduce it on Vista with both build 175 and 176.

Instead of taking time now to fix the bug I'm going to try to give you a work around. Could you change the hotkey as follows (add one line) and let me know if it works?



<Hotkey Pause>
<SetLocal ClearModifiers off>
<SendPC Local>
<ToggleHotkeys>

dubiox
07-22-2009, 09:17 PM
Sorry for the delay in getting back. Yes that workaround seems to fix it.

I had 0.1.44 build 175 on the pc where it worked fine before.

I have build 176 on the pc where I have the problem.

Thank you very much for the quick response!!!

-K

dubiox
07-24-2009, 06:07 PM
now modifiers seem to be broken elsewhere. I use shift-\ as my accept-everything macro key, which no longer works.

-K

Freddie
07-24-2009, 07:31 PM
Could you please change the Pause hotkey back to the way it was before. Then restart HotkeyNet and see if the problem disappears. I need to be sure that the new problem was caused by the change to that hotkey before I can try to fix the problem. Thanks.

holden
07-27-2009, 08:00 AM
i just wanna chime in and say that i've had this problem with hotkeynet since i started using it a year ago.

hitting pause would turn off my numlock and cause me to autorun in wow.. my workaround was to simply unbind numlock in wow, but it does still disable my numlock when i hit pause. also, it doesnt do this 100% of the time i hit pause, just often enough to be a nuisance. using windows xp if that matters.

Freddie
07-27-2009, 09:20 AM
Holden do you have a hotkey that gets triggered by Pause? If so you can eliminate the problem by adding <SetLocal ClearModifiers off> to the hotkey as I showed above.

If not please let me know.

falsfire3401
07-27-2009, 11:51 AM
This is strange, I use pause to toggle hotkeys too, and it's never triggered autorun. I hit it several times in a session too. The difference might be that I'm using a Microsoft keyboard, one with the stupid "F-Lock" key, so to hit pause I have to first toggle F-Lock off, then hit pause, then turn F-Lock back on again. Maybe the fact I'm hitting the F-Lock before pause causes it to not be a problem on my system, I dunno...

Freddie
07-27-2009, 02:43 PM
Falsfire could you do me a favor? Press Pause while looking at "Last key press" in the upper right corner of HotkeyNet's window. Let me know the virtual key, scan code, and whether it's extended. Thanks.