Mr. Roboto
2014-08-15 04:12:33
I wrote this procedure that find a gem and tries to cut it. It finds the gem using a DTM then fails to click on cut.

I tried changing the coords for the TBox, but that didn't work. How do I solve this?
cutBox : TBox; if(findDTM(dtm, x, y, tabBackPack.getBounds()))
then begin
mouse(x, y, 5, 5, MOUSE_LEFT);
wait(2000);
cutBox := intToBox(436, 597, 565, 615);
mouseBox(cutBox, MOUSE_LEFT);
end; 
I tried changing the coords for the TBox, but that didn't work. How do I solve this?