Not sure if its a bug, but when i try to get the mouseposition X,Y and try to add 50 pixel to x my mouse goes diagonally right+down.
here is my codesnippet
Code: Select all
int x,y;
x = Mouse.Position.X;
y = Mouse.Position.Y;
Location a = new Location((x+50),y);
myrepo.myApp.Self.MoveTo(a);
also tried to Report.info(x.toString()+y.toString()); y stays the same, but still mouse moves down
regards
wyll
[ps.: works fine when i try to add 50 to y, mouse goes up just fine
EDIT: ps is wrong, it actually moves to the spot i got the mouse position from