LOOP, 999999 { wingetpos x, y,,, Calculator ; get coordinates of the active window X += 1 ; Y += 1 ; winmove, Calculator,,%x%, %y% ; make the active window use the new coordinates } return ; finish
the problem with this code is that it will move the window outside of screen