ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
System.GetMousePosition
OverviewExamples
table System.GetMousePosition ( boolean ClientCoordinates = true,
number WndHandle = nil )
De s cr ip t ion
Returns a table containing the current position of the mouse, either relative to the entire screen (screen coordinates), relative to the application (client coordinates), or relative to some other client window.
Note: Screen coordinates are relative to the top left corner of the screen. Client coordinates are relative to the top left corner of the application's client area (the page), and if WndHandle is specified, it will be relative to the top left corner of that window.
P arame t er s
ClientCoordinates
(boolean) Whether to get the mouse position relative to the application or another window:
VALUE DESCRIPTION |
|
true |
Return the current position of the mouse relative to the application (client coordinates) or some other window. (Default) |
false |
Return the current position of the mouse relative to the screen (screen coordinates). |