As this is my first post I would just like to say how excited I am to be a part of this community. I've always enjoyed creating macros - who doesn't enjoy making life more efficient!?
I've been learning AHK for about a week now and I must say, all those other GUI macro programs I've used were a total waste of time
ONTO THE ACTUAL POINT OF THIS POST
I am trying to loop a set of actions while the script is otherwise sleeping / paused.
Code: Select all
Random, rand, 5000,6000
while Sleep, rand
{
MouseGetPos, x, y
ToolTip, % begin_x ", " begin_y "`n" Abs(begin_x-x) " x " Abs(begin_y-y)
}
exit