А не работают мои изображения я не знаю почему
(Добавление)
CODE:
win w=window ("Ìèð Òåíåé Îíëàéí-èãðà - Google Chrome", "Chrome_WidgetWin_1", -1); // указатель изменить на свой
sleep(500);
activate(w);
sleep(500);
int col, xe, ye;
getdisplay(col, xe, ye);
loadimage (#Image_3[0][0], "C:\Ìèð Òåíåé\Image_2.bmp");
loadimage (#Image_4[0][0], "C:\Ìèð Òåíåé\Image_3.bmp");
int Image_5[72][16];
int Image_4[26][41];
int Image_3[59][10];
int PosX_3[512];
int PosY_3[512];
int PosX_4[512];
int PosY_4[512];
a:if (findimage(1, #Image_3[0][0], 0, #PosX_3[0], #PosY_3[0], 0, 0, xe, ye, 10, 30, 30, 40, 10, 10, 10, -1)<1)
{sleep(500); goto a;}
mouse(LEFT, PosX_3[0], PosY_3[0]);
sleep(500);
a1:if (findimage(1, #Image_4[0][0], 0, #PosX_4[0], #PosY_4[0], 0, 0, xe, ye, 10, 30, 30, 40, 10, 10, 10, -1)<1)
{sleep(500); goto a1;}
mouse(LEFT, PosX_4[0]+5, PosY_4[0]+20);
sleep(500);
key("ËÎÃÈÍ"); //вводим логин
sleep(700);
key(TAB);
sleep(700);
key("ÏÀÐÎËÜ"); // вводим пароль
sleep(700);
key(TAB);
sleep(700);
key(RETURN); // подтверждаем
sleep(500);
activate(w);
sleep(500);
int col, xe, ye;
getdisplay(col, xe, ye);
loadimage (#Image_3[0][0], "C:\Ìèð Òåíåé\Image_2.bmp");
loadimage (#Image_4[0][0], "C:\Ìèð Òåíåé\Image_3.bmp");
int Image_5[72][16];
int Image_4[26][41];
int Image_3[59][10];
int PosX_3[512];
int PosY_3[512];
int PosX_4[512];
int PosY_4[512];
a:if (findimage(1, #Image_3[0][0], 0, #PosX_3[0], #PosY_3[0], 0, 0, xe, ye, 10, 30, 30, 40, 10, 10, 10, -1)<1)
{sleep(500); goto a;}
mouse(LEFT, PosX_3[0], PosY_3[0]);
sleep(500);
a1:if (findimage(1, #Image_4[0][0], 0, #PosX_4[0], #PosY_4[0], 0, 0, xe, ye, 10, 30, 30, 40, 10, 10, 10, -1)<1)
{sleep(500); goto a1;}
mouse(LEFT, PosX_4[0]+5, PosY_4[0]+20);
sleep(500);
key("ËÎÃÈÍ"); //вводим логин
sleep(700);
key(TAB);
sleep(700);
key("ÏÀÐÎËÜ"); // вводим пароль
sleep(700);
key(TAB);
sleep(700);
key(RETURN); // подтверждаем
Вот, с Вашими поправками