$F1::
Loop
{
if not GetKeyState("F1", "P")
break
Send {F1}
Click
}
$F2::
Loop
{
if not GetKeyState("F2", "P")
break
Send {F2}
Click
}
$F3::
Loop
{
if not GetKeyState("F3", "P")
break
Send {F3}
Click
}
$F4::
Loop
{
if not GetKeyState("F4", "P")
break
Send {F4}
Click
}
$F5::
Loop
{
if not GetKeyState("F5", "P")
break
Send {F5}
Click
}
$F6::
Loop
{
if not GetKeyState("F6", "P")
break
Send {F6}
Click
}
$F7::
Loop
{
if not GetKeyState("F7", "P")
break
Send {F7}
Click
}
$F8::
Loop
{
if not GetKeyState("F8", "P")
break
Send {F8}
Click
}
$F9::
Loop
{
if not GetKeyState("F9", "P")
break
Send {F9}
Click
}