I want to get the values the Screen and the Position of mouse, but I use the functions, getScreenSize() and getPosition() and I want the values X and Y the position and the length the Screen.
But I do:
int valuex = (int)driver.getScreenSize().X;
and
int valuex = driver.getScreenSize().X;
and the show the message error:
inconvertible types
found: bindenlicht.Position2di
required: int
int valuex = (int)driver.getScreenSize().X;