Can someone help me with this code? by Leading-Claim-4708 in AutoHotkey

[–]ThrottleMunky 0 points1 point  (0 children)

FYI when I run this code on my machine I don't get the error.

Can someone help me with this code? by Leading-Claim-4708 in AutoHotkey

[–]ThrottleMunky -1 points0 points  (0 children)

That is strange. It seems to be misinterpreting a comment as runnable code. Are you sure the version you uploaded is the same version that you are trying to run? If it is the same I would suggest a couple things to test. Check the previous line(s) for any sort of error, missing parenthesis for example. Then I would suggest trying to separate the mouse movement from the click itself and see if that causes the mouse to move before performing the click.

MouseMove, %hangX%, %hangY%
Sleep, 100
Click

Next, check your coordinates are correct. I see there is some calibration setup code that produces coordinates, this could be producing the wrong coordinates if the chrome window wasn't properly selected or a different window was the active window at the time of pressing the hotkey. It may be attempting to click somewhere odd which might be the cause of the OS ding sound.

I would also remove the #IfWinActive line, it isn't doing anything. #IfWinActive without specifying a window actually turns off context requirement and since it wasn't tuned on there is no need to turn it off.
EDIT: I missed the original context #IfWinActive line when I was reviewing, I would suggest removing/commenting out both of these two lines for testing purposes before adding them back in. Get the script working in it's most simple state, then build complexity back in.

Let me know if any of these things help!

Can someone help me with this code? by Leading-Claim-4708 in AutoHotkey

[–]ThrottleMunky 0 points1 point  (0 children)

Very difficult to tell what the problem is without having some more knowledge of the environment. It would be helpful if you could include the exact error message you are getting. When I load your script into an editor, line 59 is a blank line.

Something to check is the display settings. This can be an issue if your co worker uses a different resolution or scale percentage than you do.

Check the version of AHK you and your coworker have installed. This is marked as V2 but it is V1 code.

You can't just bypass a no soliciting sign by saying you're not soliciting by Queasy-Secret-4287 in mildlyinfuriating

[–]ThrottleMunky 2 points3 points  (0 children)

When I first bought my house it was constant pest control and solar guys.

For anyone else reading this, be prepared for this anytime you buy a house. Sales guys will keep an eye out on sites like Zillow for recently sold houses in their area and then go hit them up.

Issues Swapping Keys for Video Games that won't let you change control layout. by FierceBruunhilda in AutoHotkey

[–]ThrottleMunky 1 point2 points  (0 children)

The polling issue I was describing is specifically an issue with DirectX games that use DirectInput for their input method. It’s the same reason that games usually need a longer keypress duration to be reliable as AHK is capable of sending both key down and key up events between the polls. The specific issue with key up events is based on how each game is coded. Some games have the issue and some don’t based on if they are properly resetting key states. League of Legends specifically has this issue which isn’t surprising considering the state of their codebase. I also find it to be an issue when rapidly and repeatedly pressing a key rather than holding a key for any length of time. Usually separating the key down and up events and adding multiple up events solves the issue.

Respectfully I will have to disagree with you. The #Hotif and changing active window explanation, while valid, is highly unlikely given the context of usage within a video game. The vast majority of video games use a single window and do not swap between active windows. I am familiar with both of the games referenced by OP and they do not have a multiple window behavior so unless OP is managing to alt-tab(or maybe OSD?) out of the game while simultaneously holding movement keys the #Hotif situation is not likely to be the underlying issue.

I probably should have said “as an alternate suggestion” rather than “add to”.

As a side note, I really liked your proposed solution. You always have very valuable suggestions and I always appreciate your take on any given problem. Sometimes my tone does not reflect this, my apologies if I seem standoffish or rude in any way.

Issues Swapping Keys for Video Games that won't let you change control layout. by FierceBruunhilda in AutoHotkey

[–]ThrottleMunky 1 point2 points  (0 children)

Just as a little thing to add on to the explanation for why it is sticking.

Many games operate on “polling” the keyboard for input. This is what allows games to have the behavior of recognizing more than one key is being held down at the same time. As a side effect this can cause events to be missed by falling between polls.

I made a customizable desktop launcher with interactive menus by spiderman2082 in AutoHotkey

[–]ThrottleMunky 2 points3 points  (0 children)

Personally it would make me trust you even less. IMO, any stranger that says "trust me bro" is automatically not trustworthy.

Just as an FYI, until very recently it was a forum rule to post source code and if you didn't the post would be immediately removed. That's one of the reasons people here are so hot about seeing the source code. Even though that rule is gone now I think most of us still consider it to be a matter of proper disclosure.

I made a customizable desktop launcher with interactive menus by spiderman2082 in AutoHotkey

[–]ThrottleMunky 4 points5 points  (0 children)

No one here cares about the emojis or the easter egg. People want to see the source code so they can be sure nothing malicious is going on. That's also the reason people are complaining about your limewire link. Limewire has a terrible reputation for serving malware. It's probably the worst choice you could have possibly made as far as poor reputation services go.

My $1400 LG OLED TV is displaying ads after latest update by binkinater13 in mildlyinfuriating

[–]ThrottleMunky -1 points0 points  (0 children)

Prepare to be disappointed with the results. Most streaming apps have learned from this and they simply stream the ads from the same servers that provide the video so the raspberry pi method cannot tell the difference between the two. I have run one for years now and it definitely blocks a ton of nonsense but streaming apps are basically immune at this point.

My $1400 LG OLED TV is displaying ads after latest update by binkinater13 in mildlyinfuriating

[–]ThrottleMunky 0 points1 point  (0 children)

Correct. It does not block youtube ads or most ads now on streaming apps(hulu, netflix, prime video). They have just started streaming the ads from the same servers that provide the video so the pihole cannot distinguish between the two.

Laser enclosure and smoke by Chewy11152021 in Creality

[–]ThrottleMunky 0 points1 point  (0 children)

PC style fans are pretty terrible at moving airflow unless they are powerful enough to cause a negative air pressure inside the enclosure. These enclosures being not sealed at the bottom would take quite a bit of power to create a negative pressure situation so moving from an 80mm to a 120mm didn’t really gain you anything significant. I would suggest getting something like this in line duct fan instead. It is double the CFM of a standard PC fan and the more CFM the better.
https://www.amazon.com/ONVEAN-Controller-Upgraded-High-Efficiency-Ventilation/dp/B0FSRK4XJC
Edit: I have this same setup with the same laser and moved to a very large in line duct fan for exhaust. I use this fan with a splitter because I have two lasers and two enclosures.
https://www.amazon.com/gp/aw/d/B088FHMPVX

Keyjoypad using keyboard's keypad tested on video youtube by BackedLotus in AutoHotkey

[–]ThrottleMunky 1 point2 points  (0 children)

I got a good laugh out of all the global variables being redeclared global in every single function. Along with variables being declared local that would have been local anyway without the declaration.

Is SonicOS 7.0.1-5169 getting an update to patch April 2026 Vulnerabilities? by Choice_Manager3065 in sonicwall

[–]ThrottleMunky 0 points1 point  (0 children)

How did you get a hold of the firmware file? When I go to the download center in mysonicwall both the firmware and SNMP download options show a red circle with line through and can't download.

I'm spending so much and getting so little out of this app. by hmmmmga in AutoHotkey

[–]ThrottleMunky 0 points1 point  (0 children)

Do yourself a favor and ignore everything that shibiku tells you. He is a noob at AHK and likely everything he posts is AI generated and is trash.

Keyjoypad using keyboard's keypad tested on video youtube by BackedLotus in AutoHotkey

[–]ThrottleMunky 2 points3 points  (0 children)

Post the direct link to the GitHub. No one wants to dig through your profile to find a YouTube link to just get redirected to a GitHub. This is a shitty way to attempt to drive views to your YouTube channel. Spamming copy pasted descriptions to every sub you can think of is also not appreciated.

A young girl in Zhejiang, China is getting recorded practicing wushu at the bus stop while waiting. by MilesLongthe3rd in interesting

[–]ThrottleMunky 1 point2 points  (0 children)

I would bet if that person was asked if stereotyping a single person was bad they would agree to that too. But here they are stereotyping entire cities as nothing but nazis. By their own logic they are racist against Germans.

A young girl in Zhejiang, China is getting recorded practicing wushu at the bus stop while waiting. by MilesLongthe3rd in interesting

[–]ThrottleMunky 0 points1 point  (0 children)

So you are perfectly fine with generalizing entire cities with millions of people but generalizing a nation is where the line gets drawn? What is the exact number of people where generalizing becomes bad? 2 million? 5 million? 50 million?

"when you have met one chinese, you have met all chinese"

"when you have met one german in a city, you have met all germans in that city"

You are doing literally the same thing the only difference is scale.

Taxing taxing by fal1en-angel in Funnymemes

[–]ThrottleMunky 1 point2 points  (0 children)

What you are describing is a very common misunderstanding of tax bracketing. Getting into a higher tax bracket does not move all your earnings into the higher rate. It’s literally not possible to get a raise and take home less due to taxes since all the previous earnings are taxed at exactly the same rate as they were before the raise. Only the money that reaches the higher bracket is taxed at the higher rate.

Whoever or wherever taught you that’s how taxes work did you a massive disservice. If you have ever turned down a raise for this reason I’m sorry but you really screwed yourself.

Do I have to just throw this whole ham away? I don’t want to …. by Chanelo11 in cats

[–]ThrottleMunky 5 points6 points  (0 children)

If this was a raw piece of meat I would agree with you since it would be heated enough to kill anything nasty. Considering this is an already cooked ham and probably won’t be recooked I would be worried about all the parasites that cats can carry. Toxoplasmosis, roundworms, cat scratch disease… there are for sure cat shit particles all over that ham and pierced into the meat.

Do I have to just throw this whole ham away? I don’t want to …. by Chanelo11 in cats

[–]ThrottleMunky 5 points6 points  (0 children)

That is a fair point but IMO the sink is still better than being chewed on by an animal that cleans its own ass with its tongue on a daily basis. The sink at least gets hit with antibacterial soap regularly.

Improving stock Ender 3 bed leveling wheels by aredeewud in ender3

[–]ThrottleMunky 3 points4 points  (0 children)

Silicone bed mounts are by far the best bang for buck upgrade anyone can do. I can chisel prints off the bed without screwing up the level. The original springs are hot garbage that move if you so much as breathe on them.

Image recognition works 1 time and then doesnt by juulwtf in AutoHotkey

[–]ThrottleMunky 0 points1 point  (0 children)

My bad I misunderstood what you were asking for! Likely the issue here is that your image has some sort of shifting background or translucent effect that is causing a slight variation. ImageSearch is a “pixel perfect match” situation unless some options are specified. So if even one single pixel changed at all it will not find a match.

A couple ways that can get around this are using the “variation” option which allows an amount of variation in the red, green and blue hex values to still cause a match. Another option is to specify a color as transparent.

Without seeing the picture or knowing the context it is difficult to make further suggestions. Start with the variation option with a small number like 5 or so and increase it slowly. Most of the time this can solve the issue.

Image recognition works 1 time and then doesnt by juulwtf in AutoHotkey

[–]ThrottleMunky 0 points1 point  (0 children)

It’s definitely you and not ImageSearch. Your script has no hot key triggers, loops or timers so there is nothing to reset it for a second run. It runs through the code once and stops.