This little program will open and close the start menu every 30 seconds for 24 hours. It basically sends the control and escape key to open the start menu then closes it by sending a final escape.
;Author: Robert Holland
;Purpose: Send CTRL and ESC keys every 30 seconds for 24 hours to keep the screensaver from coming on.
$count = 0
$loop_length = 2880
; Execute the loop “While” the counter is less than
While $count < $loop_length
; Increase the count by one
$count = $count + 1