CODE:
string arr[1900];
win w=window (-1, "Qt5QWindowIcon", -1, -1, 452, 501, -1);
if(w==0) messagebox("err");
fopen("C:\Users\VFEA\Desktop\s.txt", "r");
string preiemnik;
int i=0;
int co=0;
l:
if (freadline(arr[i])!=0)
{
co=co+size(arr[i]);
//regexsearch(-1, #arr[i], arr[i], "\d+");
i++;
goto l;
}
fclose();
int j=0;
messagebox(co*250/60000);
pause(2000);
for(int k=0; k<i; k++)
{
j=j+250*size(arr[k]);
key(arr[k], 1, 1, w);
int h=250*size(arr[k])/1000);
textout(0,0,0, "Pause "+format(h), 2);
pause(250*size(arr[k]));
key(13, 1, 1, w);
pause(rand(2000, 3000));
//pause(200*size(arr[k]));
//messagebox(29*size(arr[k])/60000);
}
messagebox(j/60000);
win w=window (-1, "Qt5QWindowIcon", -1, -1, 452, 501, -1);
if(w==0) messagebox("err");
fopen("C:\Users\VFEA\Desktop\s.txt", "r");
string preiemnik;
int i=0;
int co=0;
l:
if (freadline(arr[i])!=0)
{
co=co+size(arr[i]);
//regexsearch(-1, #arr[i], arr[i], "\d+");
i++;
goto l;
}
fclose();
int j=0;
messagebox(co*250/60000);
pause(2000);
for(int k=0; k<i; k++)
{
j=j+250*size(arr[k]);
key(arr[k], 1, 1, w);
int h=250*size(arr[k])/1000);
textout(0,0,0, "Pause "+format(h), 2);
pause(250*size(arr[k]));
key(13, 1, 1, w);
pause(rand(2000, 3000));
//pause(200*size(arr[k]));
//messagebox(29*size(arr[k])/60000);
}
messagebox(j/60000);