From: myrez
example would be:
EssDTM := DTMFromString('mrAAAAHic42BgYOBjgAARIJaE0uxQcT4omxsqzgDlcwIxD5QfHxkJJBnhOD0hniHA25Mh2MeHobKwgIGVAT9gJIBhAAA3kQYt');
if FindDTM(EssDTM, x, y, MSX1, MSY1, MSX2, MSY2) then;
begin
mmouse(x,y,0,0)
and my mouse goes to black corner of RS screen also tryed it with MBX same.
if the mouse is going to the top left corner of the client (im assuming thats what u are tlking about), then it means you do not have an accurate dtm. the dtm itself is not found. recreate the dtm (add more tolerance if needed).
how do i know this? well the findDTM function will change the x and y variables to the dtm's tPoint. all integer variables automatically start off at 0, so you have to change them. So, if you go to 0,0 with ur mouse, then those variables were never changed by the findDTM function. Thus the findDTM function never found the dtm.