Здравствуйте. Скрипт 2-3 раза срабатывает исправно а потом перестает работать. Помогите разобраться.
//1187,117
GETSCREEN
//0
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "0.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#0)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//1
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "1.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//2
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "2.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//3
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "3.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//4
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "4.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#4)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//5
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "5.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#5)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//6
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "6.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#6)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//7
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "7.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#7)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//8
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "8.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#8)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//9
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "9.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#9)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//10
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "10.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#0)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//11
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "11.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//12
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "12.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//13
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "13.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//14
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "14.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#4)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//15
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "15.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#5)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//16
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "16.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#6)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//17
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "17.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#7)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//18
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "18.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#8)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//19
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "19.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
KEYPRESS(#9)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//20
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "20.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#0)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//21
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "21.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//22
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "22.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//23
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "23.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//24
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "24.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#4)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//25
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "25.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#5)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//26
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "26.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#6)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//27
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "27.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#7)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//28
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "28.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#8)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//29
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "29.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
KEYPRESS(#9)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//30
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "30.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#0)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//31
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "31.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#1)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//32
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "32.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#2)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//33
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "33.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//34
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "34.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#4)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//35
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "35.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#5)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
ELSE
//36
//IF(PXLCOUNT(1150,130, 1200,160, 6471470) > 0)
IF_PICTURE_IN (1170,135, 1205,200, "36.bmp", -1, 100)
WAITMS(100)
LCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,115)
WAITMS(100)
DBLCLICK(1250,600)
WAITMS(100)
KEYPRESS(#3)
WAITMS(100)
KEYPRESS(#6)
WAITMS(100)
LCLICK(1355,670)
WAITMS(100)
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
END_IF
WAITMS(500)