Untitled

 avatar
unknown
plain_text
2 years ago
511 B
3
Indexable
#MaxHotkeysPerInterval 1000
#Persistent

global g_is_suspended := 0
global g_space_spam_active := 0



#IfWinActive ahk_exe FSD-Win64-Shipping.exe


F1::
	g_space_spam_active := !g_space_spam_active
return

*space::
	
	if ( g_space_spam_active = 1 )
	{
		While GetKeyState("space","p")
		{
			SendEvent, {space down}
			;Sleep 1
			SendEvent, {space up}
			;Sleep 1
		}
	}
	else
	{
		SendEvent, {space down}
		While GetKeyState("space","p")
		{
			Sleep 1
		}
		SendEvent, {space up}
	}
return


#IfWinActive


Editor is loading...