Move pointer to a new position, relative to one of several interesting points.
Syntax
SetMousePosition(relativeTo, dx, dy)
Parameters
- relativeTo
- Indicates the meaning of the dx and dy
coordinate arguments as follows:
0: Coordinates are relative to the top left of the screen's inner rectangle, as with Pointer.MoveTo with the ScreenInner argument.
1: Coordinates are relative to the top left of the current window, as with Pointer.MoveTo.
2: Coordinates are relative to the current pointer position, as with Pointer.MoveBy.
5: Coordinates are relative to the top left of the current window's inner rectangle, as with Pointer.MoveTo with the WindowInner argument.
- dx
- Horizontal offset in pixels from point specified by relativeTo.
- dy
- Vertical offset in pixels from point specified by relativeTo.
Remarks
The suggested Vocola 3 analog functions are specified in the description of the
relativeTo argument.
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)