Vocola.net
Vocola 3.1 Function Library
MoveTo(dx, dy)
Namespaces LibraryPointer ► MoveTo
Move the pointer to a new position, relative to a corner of the current window.
Syntax
MoveTo(dx, dy)
Parameters
dx
Horizontal offset in pixels from edge of current window. A positive number means the offset is relative to the left edge, while a negative number means the offset is relative to the right edge.
dy
Vertical offset in pixels from edge of current window. A positive number means the offset is relative to the top edge, while a negative number means the offset is relative to the bottom edge.
Remarks
Using pixel coordinates to position the pointer is not the best way to control an application, but sometimes it's the only way.
Examples
CopyCompose HTML message in Thunderbird
New Message HTML = MoveTo(110, 83) {Shift+LeftButton};
If the Thunderbird mailer is configured to compose messages in plain text format, the only way to compose a message in HTML format is to shift-click on the "Write" button in the toolbar. This command does that, by calling MoveTo(110, 83) to position the pointer over the "Write" button (you may need to adjust the coordinates) and sending {Shift+LeftButton} to perform the shift-click.

Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)