OverviewExamples
table Web.GetProperties ( |
Returns a table containing the properties of a web object.
(string) The name of the web object.
(table) A table containing the web's properties, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
URL |
string |
The current URL displayed in the web object. |
ObjectName |
string |
The name of the web object. |
Enabled |
boolean |
True if the web object is enabled, false if it is not. |
Visible |
boolean |
True if the web object is visible, false if it is not. |
X |
number |
The horizontal position (in pixels) of the top left corner of the web object in relation to the current page. Note: The top left corner of the current page has an X value of 0 |
Y |
number |
The vertical position (in pixels) of the top left corner of the web object in relation to the current page. Note: The top left corner of the current page has a Y value of 0 |
Width |
number |
The width (in pixels) of the web object. |
Height |
number |
The height (in pixels) of the web object. |
WindowHandle |
number |
The integer value that represents the object's window. (Commonly referred to as an hWnd.) |
If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
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