![]() ![]() It's bad practice due to AHK not offering true multithreading. Secondly, you shouldn't loop inside hotkey labels. Read the remarks section in the documentation for more. Also, the sleep command isn't as accurate as you may think it is. 5 are likely interpreted as 0, not sure though. Just whole numbers, and they're in milliseconds.1 and. This one gives me errors about missing "return" but I tried a lot of merging variations.Īlso, I've read a lot about MaxThreads and still don't know why there should be 2 and what is it for.įirstly, not sure what amount of time you're trying to give the Sleep commands, but decimal numbers wont work. I've read a bit about AHK and tried this code but it doesn't work any close to what I want: toggle = 0 If it's important, I need those clicks while holding Ctrl in-game. When I push F8 again it should do nothing. What I need is: when I push F8 once, I want my left mouse button to fire click events rapidly while holding it. ![]() The second is a toggle script that sends the same left mouse button firing events but can be toggled on and off with a button press (F8 in this case) toggle = 0 The first rapidly fires click when you hold down the left mouse button: ~$LButton::Ģ. I've found AHK codes that separately work "ok" but I need one inside another. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |