I'm just new to ahk scripting and was wondering how I make it so I can press the same activation key to toggle it off/on.
(Sorry if I posted this in the wrong section)
{
F1::
loop,
{
mousemove, 126, 200
click, 126, 200
sleep, 20
mousemove, 1000, 802
click, 1000, 802
send, hello, this is a test
Send, {enter}
mousemove, 34, 104
click, 34, 104
}
Return
}
(Sorry if I posted this in the wrong section)
{
F1::
loop,
{
mousemove, 126, 200
click, 126, 200
sleep, 20
mousemove, 1000, 802
click, 1000, 802
send, hello, this is a test
Send, {enter}
mousemove, 34, 104
click, 34, 104
}
Return
}
