Automation and bots

 Помощь      Поиск      Пользователи


 Страниц (1): [1]   

> Без описания
Kibor
Отправлено: 24 Июля, 2018 - 05:26:54
Post Id



Администратор
Full Member


Просматривает форум
Сообщений всего: 160
Дата рег-ции: Дек. 2017  
Репутация: 0
Карма 0




Added operator for

Purpose - the organization of cycles with the verification of the condition

CODE:
for (int a=0; a <5; a++)
{
messagebox ("loop");
}


An example of how to expect the appearance of an image on the screen in 5 seconds. If the image does not appear - exit the loop.

CODE:
for (int t=gettime (); gettime () - t <5000; sleep (20))
{
if (findimage (1, #Image [0] [0], 0, #PosX, #PosY, 0, 0, 1366, 768, -1) == 1)
{
messagebox ("found ...");
goto q;
}
}
messagebox ("not ...");
q:;


-----
The Visual Code Editor is Kibor. Creating bots without knowledge of programming.

Learning function for recognizing text.
-----
 
 Top
Страниц (1): [1]
Сейчас эту тему просматривают: 1 (гостей: 1, зарегистрированных: 0)
« About Kibor »


Все гости форума могут просматривать этот раздел.
Только администраторы и модераторы могут создавать новые темы в этом разделе.
Только зарегистрированные пользователи могут отвечать на сообщения в этом разделе.
 




Powered by