Прохожий
Покинул форум
Сообщений всего: 12
Дата рег-ции: Дек. 2021
Репутация: 0
|
Zireael пишет: Файл проекта выложите.
win W_Kib=window (-1, "Qt5QWindowIcon", 2, 32, -1, -1, window ("NoxPlayer1", "Qt5QWindowIcon", -1));
int Screen[3000][3000];
int K_Kib;
int X_Kib[1000];
int Y_Kib[1000];
int Image0[4][4];
int eCol_Kib, eX_Kib, eY_Kib;
getdisplay(eCol_Kib, eX_Kib, eY_Kib);
activate(W_Kib);
pause(2000);
load_images();
loop()
{
ïîäñå÷êà();
ëîâ();
}
goto KIB_Exit;
Er:;
KIB_Exit:;
function ïîäñå÷êà()
{
goto KIB_5;
KIB_9: Key(0, W_Kib, 0, 32, "Êëèê", 1000);
return ;
goto KIB_Exit;
KIB_5: Mouse(1, #W_Kib, W_Kib.leftclient, W_Kib.topclient, 500, 778, 428, "Ëåâóþ êëèê", 500);
if (FindImage(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, #Image0[0][0], 1, 0, 0, 0, #K_Kib, #X_Kib[0], #Y_Kib[0], 760, 420, 780, 440, 500, 1000, -1, 0, 100, 0, 0, "0, 0, 0, 0", 0, "Áåçäåéñòâèå", 0, 0, 500, 0, 5, 5, 0, 0)>0) goto KIB_7;
goto KIB_5;
KIB_7: loop()
{
if (FindImage(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, #Image0[0][0], 1, 0, 0, 0, #K_Kib, #X_Kib[0], #Y_Kib[0], 760, 420, 780, 440, 100, 0, -1, 0, 60, 0, 0, "0, 0, 0, 0", 500, "Áåçäåéñòâèå", 0, 0, 0, 0, 5, 5, 0, 0)>0) goto KIB_C7;
goto KIB_9;
KIB_C7:
}
goto KIB_Exit;
KIB_Exit:;
}
function ëîâ()
{
goto KIB_12;
KIB_19: if (ScanPixel(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, 0, 0, 859, 604, 12897152, 0)==1) goto KIB_17;
goto KIB_15;
KIB_17: Mouse(1, #W_Kib, W_Kib.leftclient, W_Kib.topclient, 2000, 859, 604, "Ëåâàÿ äâîéíîé êëèê", 500);
return ;
goto KIB_Exit;
KIB_16: if (ScanPixel(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, 0, 0, 859, 604, 12897152, 0)==1) goto KIB_17;
goto KIB_13;
KIB_14: Key(0, W_Kib, 0, 32, "Îòïóñòèòü", 0);
KIB_15: if (ScanPixel(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, 100, 0, 587, 662, 8300979, 20)==1) goto KIB_19;
KIB_12: Key(0, W_Kib, 0, 32, "Íàæàòü", 0);
KIB_13: if (ScanPixel(1, #Screen[0][0], #W_Kib, W_Kib.leftclient, W_Kib.topclient, 100, 0, 855, 550, 1506047, 20)==1) goto KIB_14;
goto KIB_16;
KIB_Exit:;
}
function Mouse(int ew, win #w, int v_x, int v_y, int p1, int x, int y, string m, int p2)
{ |