Thanks for any help.
Code: Select all
SetTimer, MoveMouse, 60000 ; Run MoveMouse every 1 minute
MoveMouse:
MouseMove, 1, 0, 1, R ;Move the mouse one pixel to the right
MouseMove, -1, 0, 1, R ;Move the mouse back one pixel
return
[Mod edit: Moved topic to AHK v1 help (from v2 help), since this is not v2 code.]