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.
Code:cutBox : TBox;Code: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?



Reply With Quote






