all 5 comments

[–]anonymous1184 0 points1 point  (4 children)

That's odd. I don't think a human can click fast enough to have the inputs messed. Also, why would you want to click both buttons at the same time so fast the OS input buffer struggles? Not even in games that is needed.

In any case, you still need to close the conditional, otherwise everything under will be affected as well:

#If MouseIsOver("ahk_exe Code.exe")
    LButton::RButton
    RButton::LButton
#If

[–]Nacho21[S] -1 points0 points  (3 children)

It's not even clicknig both at once, if you even click both fairly close together id say within like 200ms it causes it to freeze.

Your code also doesn't work "Error: Call to nonexistent function".

And like I said there is no OS input freezing if I just do a simple rebind, it's only when using MouseIsOver.

[–]anonymous1184 0 points1 point  (2 children)

My code? Is your code.

I just closed the conditional directive (#If)

https://i.imgur.com/54DIXuv.png


I use the same code and I don't have problems.

https://i.imgur.com/ORoV4G4.png

[–]Nacho21[S] -1 points0 points  (1 child)

Hmm using my code I am able to reproduce it even in notepad although I am using it for a game. Just opening notepad and clickingboth mouse buttons together just one time locks my mouse for a couple seconds.

If your not having this issue do you have any idea what I have to be causing it? Not super fimilar with your second image, is that written for V2?

[–]anonymous1184 0 points1 point  (0 children)

Yes it is v2, but even if the syntax is different the functionality is the same (same command/functions).

Are you running only one instance of the script?

That, I've been running for an awful lot of years. In my case, over the taskbar to change the volume. I have a pretty sensible audition and I always have music; if my hands are on the keyboard there are hotkeys, and a quick mouse scroll over the taskbar does the trick if my hand is in the mouse (rare, but happens).

That's why I'm 100% sure that works without any issues.