![]() i need to make a script in which When i hold left mouse button, it acts like im spamming left mouse button. HOLD to SPAM left click - posted in Gaming Questions: Hello everyone. ![]() KeyWait, a, T1 means wait 1 second for a to be released, if it isn't it sets ErrorLevel to 1 and starts spamming so long as it continues to be held down.For example If I hold down the 'a' key for 3 seconds, it should record something like this, right? send return I have tried the following after searching around the thread and reading some guides but none seem to. One way to detect these would be to register a hotkey for the first key in the chord (^e) and then use the Input-Command to detect the next keys.This modifies the a key to spam a when held down for more than 1 second, adjustable by the delayKeyDown := 50 DelayBetweenKeys := 250 parts to decide how spammy you want it (in milliseconds). I don't think there is build-in support for key chords in AHK. To comment a selection, one would hold down Ctrl, hit E, hit C, then release Ctrl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |