A very rough script which needs more work on the time roll over, but I noticed that stringformat prints odd characters sometimes,
Run("notepad.exe")
$hWnd = WinWaitActive("[CLASS:Notepad]")
$hrs = 0
$mins = 0
$secs = 0
$StartCount = 0
For $iCount = 1 To 120
ControlSend($hWnd, "", "Edit1"...