Hack Forums
[Shell] AHK - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] AHK (/showthread.php?tid=5418707)



AHK - ohramboh - Sep 28, 2016

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
}


* - MrCrazyheat - Sep 28, 2016

You might want to bring this to an AHK forum rather than a thread about shell languages. Some here may have knowledge about that, but definitely the wrong thread location.


* - JoshuTee - Sep 28, 2016

1.) Use code tags.
2.) Wrong section.