hey guys,
i'm new in the simba world and i have seen a tutrial and copied the code to learn but when i run it i get an error with the MMouse.
Here is the code:
And this is my error:Code:Program BitmapExample; {$i srl-6/srl.simba} var Drop:Integer; Procedure DropLog; var X,Y:Integer; begin if FindColorTolerance(X, Y, 605787, 561, 226, 738, 484, 5) then begin MMouse(x, y,1,1); wait(250); ClickMouse(X, Y, mouse_Right) wait(450); if FindBitmapToleranceIn(Drop, X, Y, 561, 226, 738, 484, 145) then begin MMouse(x, y,1,1); wait(250); ClickMouse(X, Y, mouse_Left) end; end; end; Begin MouseSpeed := 15; Drop := BitmapFromString(123, 8, 'meJzNlEsOwyAMRLldLtBt73+MNA' + 'IFWZ5PXJpIRSyIcWx4HtNa217v1sex2PsY67VZj7CfYzlX7TytH2f' + '9RjemONyWcf0IfLo9zfzfgKfL7mF4o3euA9/O/lpO7UuGNIZlTPRE' + 'u/KZbvRHbeS48JFJary0eyxYl+lTT50WFeDzs/+VoaGdhooD7T7LP' + 'L/nQF/4BJP65PNBIWitfWoFnLaVAq625jTRqJiTP40WgVNclKqSn4' + 'oghOfwPg08clCaVFcw3UF7AUrMMVIyX8mvCLxouV3hcB2pfHF+569' + '2B/CYN0paidyI/17gKQWqYgE4ilzZMZrqjrjlox2LD3oDSx8='); DropLog; FreeBitmap(Drop); end.
Error: Unknown declaration "MMouse" at line 11
Compiling failed.
I hope that someone can help me with this.
-Ryan


Reply With Quote
Try that.





