In this case, you can read from a file..
CODE:string t[100];
int k=0;
int X[100], Y[100];//Here the coordinates of the fields for text input
if (fopen ("c:\file.txt", "r")!=0)//open the file for reading "r"
{
while (freadline(t[k])!=0)//We read on the whole line until the end of the file
{
k++;
}
fclose();//close the file
}
for (int n=0; n<k; n++)
{
mouse(LEFT, X[n], Y[n]);//Click on the field to enter text
sleep (200);
keydown (17); key (65); keyup (17);//Ctrl A (select the text that was)
sleep (500);
writeclipboard (t[n]);//we put into the clipboard the text to be entered
sleep (200);
keydown (17); key (86); keyup (17);//Ctrl V we (paste the text)
}
----- The Visual Code Editor is Kibor. Creating bots without knowledge of programming.
Learning function for recognizing text.
----- |