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
Web.GetProperties
OverviewExamples
table Web.GetProperties ( string ObjectName )
De s cr ip t ion
Returns a table containing the properties of a web object.
P arame t er s
ObjectName
(string) The name of the web object.
Re t u r n s
(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. |
ShowBorder |
boolean |
True if a border is shown, false if it is not. |
|
ShowScrollbars |
boolean |
True if vertical and horizontal scrollbars are shown, false if they are not. |
|
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 or dialog. |
|
Note: The top left corner of the current page or dialog 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 or dialog. |
|
Note: The top left corner of the current page or dialog 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. |
|
ResizeLeft |
boolean |
True if the left side of the object will move when the application is resized, false if it is not. |
|
ResizeRight |
boolean |
True if the right side of the object will move when the application is resized, false if it is not. |
|
ResizeTop |
boolean |
True if the top of the object will move when the application is resized, false if it is not. |
|
ResizeBottom |
boolean |
True if the bottom of the object will move when the application is resized, false if it is not. |
|
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.