Gets the coordinates of the X and the Y of the screen of the client window.
So what could u do?, when u moved the mouse to that coordinate, use the function to give X and Y that coordinates. Then use a function that clicks the mouse with the given coordinates.
Example:
Code:
program testcoordiantes;
var
x,y: Integer;
procedure getcoordinates;
begin
MoveMouseSmoothEx(12,12,12,12,12,12,12);
wait(100);
Getmousepos(x,y);
Writeln('Your X : '+inttostr(x)+'');
writeln('your Y : '+inttostr(y)+'');
Writeln(' this is made by Eduardsale, check out my thread at : http://www.sythe.org/showthread.php?t=683205');
end;
begin
getcoordinates;
end.
No problem, ~ Eduard