hi i want to know how do i make a script like
if i am holding space key and it spams space bar till i have hold down space key
thanks
how to hold a key and spam it
Started by
Angeli1992
, Oct 29 2010 07:48 PM
4 replies to this topic
#1
-
Posted 29 October 2010 - 07:48 PM
Spam space until you release it:
$Space:: While GetKeyState("Space","P") Send, {Space} ReturnSpam space until you press it again:
$Space:: KeyWait, Space While !GetKeyState("Space","P") Send, {Space} KeyWait, Space ReturnStudy those and check the manual for further information.
#2
-
Posted 29 October 2010 - 08:17 PM
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Antonio França -- git.io -- github.com -- ahk4.net -- sites.google.com -- ahkscript.org
Member of the AHK community since 08/Apr/2009. Moderator since mid-2012.
How would you make it when I hold down Ctrl it will repeatedly spam ctrl?
I found it for space, but I can't seem to make it work for Ctrl.
I found it for space, but I can't seem to make it work for Ctrl.
#4
-
Posted 14 May 2011 - 08:24 PM
Spam space until you release it:
$Space:: While GetKeyState("Space","P") Send, {Space} ReturnSpam space until you press it again:$Space:: KeyWait, Space While !GetKeyState("Space","P") Send, {Space} KeyWait, Space ReturnStudy those and check the manual for further information.
Where should i paste it? xDD
#5
-
Posted 19 August 2015 - 06:24 PM