Kibor Bot Autoclicker » Kibor - Integrated development environment for bots » Issues and problem solving » Invalid mouse click coordinates

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

1. Sticls - 09 Декабря, 2017 - 12:54:13 - перейти к сообщению
Hello. Tell me why the mouse clicks in another place, and not by the image?

CODE:
if (findimage(1, #ret[0][0], -1, #cx, #cy, 188, 12, 200, 50, -1)!=0)
{
mouse(LEFT, cx, cy);
}


In the visual editor clicks for sure
2. Kibor - 11 Декабря, 2017 - 17:06:23 - перейти к сообщению
Coordinates are from the beginning of the search area .. You need to make an offset that would get a screen

CODE:
if (findimage(1, #ret[0][0], -1, #cx, #cy, 188, 12, 200, 50, -1)!=0)
{
mouse(LEFT, cx+188, cy+12);
}

Powered by ExBB FM 1.0 Final