Этот код помести сверху скрипта.
IF($first = 0)
$first = 1
WHILE(($_time_h ! 9)|($_time_m ! 9)|($_time_s ! 40)) // ждем 09:09:40
WAITMS(200)
END_CYC
END_IF
А в конце скрипта напиши задержку на 40 секунд
WAIT(40)
Получится
IF($first = 0)
$first = 1
WHILE(($_time_h ! 9)|($_time_m ! 9)|($_time_s ! 40))
WAITMS(100)
END_CYC
END_IF
$S_CORR = 0
waitms(3 + $S_CORR)
move(1334,523)
waitms(333 + $S_CORR)
move(1335,525)
waitms(4 + $S_CORR)
move(1336,526)
waitms(6 + $S_CORR)
move(1339,528)
waitms(2 + $S_CORR)
move(1341,529)
waitms(4 + $S_CORR)
move(1343,531)
waitms(4 + $S_CORR)
move(1345,532)
waitms(4 + $S_CORR)
move(1348,534)
waitms(5 + $S_CORR)
move(1349,535)
waitms(3 + $S_CORR)
move(1350,536)
waitms(4 + $S_CORR)
move(1352,537)
waitms(4 + $S_CORR)
move(1037,263)
waitms(4 + $S_CORR)
move(1035,261)
waitms(4 + $S_CORR)
move(1034,261)
waitms(4 + $S_CORR)
move(1032,259)
waitms(4 + $S_CORR)
move(1031,258)
waitms(4 + $S_CORR)
move(1029,256)
waitms(4 + $S_CORR)
move(1029,255)
waitms(4 + $S_CORR)
move(1027,254)
waitms(4 + $S_CORR)
move(1026,252)
waitms(4 + $S_CORR)
move(1025,251)
waitms(4 + $S_CORR)
move(1023,249)
waitms(4 + $S_CORR)
move(1022,248)
waitms(4 + $S_CORR)
move(1021,247)
waitms(4 + $S_CORR)
move(1020,246)
waitms(4 + $S_CORR)
move(1018,245)
waitms(4 + $S_CORR)
move(1018,244)
waitms(4 + $S_CORR)
move(1017,243)
waitms(4 + $S_CORR)
move(1016,241)
waitms(4 + $S_CORR)
move(1015,240)
waitms(4 + $S_CORR)
move(1015,239)
waitms(4 + $S_CORR)
move(1013,239)
waitms(4 + $S_CORR)
move(1013,237)
waitms(4 + $S_CORR)
move(1012,237)
waitms(4 + $S_CORR)
move(1011,236)
waitms(4 + $S_CORR)
move(1011,235)
waitms(4 + $S_CORR)
move(1010,234)
waitms(8 + $S_CORR)
move(1009,233)
waitms(8 + $S_CORR)
move(1009,232)
waitms(4 + $S_CORR)
move(1008,232)
waitms(4 + $S_CORR)
move(1008,231)
waitms(4 + $S_CORR)
move(1007,230)
waitms(8 + $S_CORR)
move(1007,229)
waitms(12 + $S_CORR)
move(1007,228)
waitms(5 + $S_CORR)
move(1006,228)
waitms(7 + $S_CORR)
move(1006,227)
waitms(4 + $S_CORR)
move(1006,226)
waitms(4 + $S_CORR)
move(1005,226)
waitms(4 + $S_CORR)
move(1005,225)
waitms(8 + $S_CORR)
move(1005,224)
waitms(4 + $S_CORR)
move(1004,224)
waitms(4 + $S_CORR)
move(1003,223)
waitms(5 + $S_CORR)
move(1003,222)
waitms(3 + $S_CORR)
move(1002,222)
waitms(4 + $S_CORR)
move(1002,221)
waitms(4 + $S_CORR)
move(1001,221)
waitms(4 + $S_CORR)
move(1001,220)
waitms(4 + $S_CORR)
move(1000,218)
waitms(4 + $S_CORR)
move(999,218)
waitms(4 + $S_CORR)
move(998,216)
waitms(4 + $S_CORR)
move(997,215)
waitms(4 + $S_CORR)
move(996,214)
waitms(4 + $S_CORR)
move(995,214)
waitms(4 + $S_CORR)
move(993,212)
waitms(4 + $S_CORR)
move(992,211)
waitms(4 + $S_CORR)
move(990,210)
waitms(4 + $S_CORR)
move(989,209)
waitms(4 + $S_CORR)
move(988,208)
waitms(5 + $S_CORR)
move(986,207)
waitms(7 + $S_CORR)
move(985,206)
waitms(4 + $S_CORR)
move(984,206)
waitms(4 + $S_CORR)
move(984,205)
waitms(4 + $S_CORR)
move(984,204)
waitms(12 + $S_CORR)
move(984,203)
waitms(20 + $S_CORR)
move(984,202)
waitms(12 + $S_CORR)
move(983,202)
waitms(5 + $S_CORR)
move(983,201)
waitms(3 + $S_CORR)
move(983,200)
waitms(12 + $S_CORR)
move(983,199)
waitms(16 + $S_CORR)
move(983,198)
waitms(12 + $S_CORR)
move(982,198)
waitms(4 + $S_CORR)
move(982,197)
waitms(4 + $S_CORR)
move(982,196)
waitms(32 + $S_CORR)
move(982,195)
waitms(24 + $S_CORR)
move(982,194)
waitms(16 + $S_CORR)
move(982,193)
waitms(12 + $S_CORR)
move(982,192)
waitms(12 + $S_CORR)
move(982,191)
waitms(8 + $S_CORR)
move(982,190)
waitms(8 + $S_CORR)
move(982,189)
waitms(4 + $S_CORR)
move(982,188)
waitms(12 + $S_CORR)
move(982,187)
waitms(17 + $S_CORR)
move(982,186)
waitms(19 + $S_CORR)
move(982,185)
waitms(16 + $S_CORR)
move(982,184)
waitms(16 + $S_CORR)
move(982,183)
waitms(28 + $S_CORR)
move(982,182)
waitms(8 + $S_CORR)
move(983,182)
waitms(48 + $S_CORR)
move(983,181)
waitms(88 + $S_CORR)
move(983,180)
waitms(20 + $S_CORR)
move(1299,488)
waitms(20 + $S_CORR)
move(1298,488)
WAIT(40)