[AHK] Как сделать активацию и деактивацию скрипта?

Kadushan

Известный
Автор темы
28
3
Код:
!1::
Send {shift down} 
Send {S down} 
Send {A down}
Loop 10000000000000
{
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
Sleep 300
Send {D up}
Sleep 300
Send {D down} 
}
Return

ЭТО КОД ДЛЯ ТАНЦА В ТЕКСТУРЕ, КАКОЙ КОМАНДОЙ МНЕ ЕГО МОЖНО АКТИВИРОВАТЬ И ДЕАКТИВИРОВАТЬ?
 
Последнее редактирование модератором:

Мутный Дмитрий

Участник
58
4
F3::
Send {shift down}
Send {S down}
Send {A down}
Loop 10000000000000
{
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
Sleep 300
Send {D up}
Sleep 300
Send {D down}
}
Return

F2::
Reload
return

F3 - активация
F2 - деактивация