Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
505 B
5
Indexable
Never
#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

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


#IfWinActive