see
http://www.m2moo.com/program/ahk.html
I got the grid_clicker script from there
I got the GDIP library and samples from
http://www.autohotkey.com/forum/viewtop ... sc&start=0
I got the Gridmove script from donationcoder.com
Initially I was planning to use Gridmove's method of drawing to the screen, spent some time figuring it out, but it wasn't suitable for drawing diagonal lines.
After I discovered the GDIP library that became easier
Since I had Gridmove I used the read/write ini idea from there.
And voila I have a cool new grid clicking script for all those pesky farming games and such!
http://www.autohotkey.net/~vixay/GridClicker.zip
Enjoy!