Search found 3 matches

by landfillbaby
28 Jan 2018, 04:21
Forum: Tips and Tricks (v1)
Topic: Autofire and toggle
Replies: 38
Views: 127869

Re: Autofire and toggle

it turns out it's tied to the physical keyboard's auto-repeat feature, and is interrupted by other keypresses
i used this instead:

Code: Select all

SetKeyDelay -1
t=
Space Up::t=
Space::
t=1
While t {
Send % " "
Sleep 250
}
Return
it's basically just the toggle method but without the threading problem
by landfillbaby
28 Jan 2018, 02:06
Forum: Tips and Tricks (v1)
Topic: Autofire and toggle
Replies: 38
Views: 127869

Re: Autofire and toggle

GreatGazoo wrote:could it be that the hotkey and the key sent being the same key, that it's creating a loop on it's own
ok, i've just checked, it still works when the input isn't in the output

Code: Select all

Space::
Send hello
Sleep 250
Return
this would probably be a bad thing if i wasn't trying to make a loop anyway
by landfillbaby
27 Jan 2018, 19:01
Forum: Tips and Tricks (v1)
Topic: Autofire and toggle
Replies: 38
Views: 127869

Re: Autofire and toggle

Code: Select all

*Space::
Send {Space}
Sleep 250
Return
works for me (holding space presses it exactly 4 times per second), no need for a loop, i guess my keyboard works weird?

Go to advanced search