Drags the pointer by a specified number of screen percentage units.
Syntax
DragByScreenPercent(widthPercent, heightPercent)
Parameters
- widthPercent
- Number of screen percentage units to drag horizontally.
- heightPercent
- Number of screen percentage units to drag vertically.
Remarks
The screen percentage coordinate system is useful for commands
where you speak the coordinates of a pointer position or offset. It has (0,0) at the upper left corner
of the screen and (100,100) at the lower right corner of the screen.
This function drags the pointer from the current position to a new position, dx screen percentage units away horizontally and dy away vertically.
Examples
CopyResize window vertically
Window (Top | Bottom) 1..99 (Up='-' | Down='+') = MoveToEdge($1) DragByScreenPercent(0, $3$2);
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)