Method GetRuntimeX
Returns runtime X coordinate, method has internal Exist() call for position recalculation.
Usage
Function GetRuntimeX(
Long MsTimeOut [Optional],
Boolean Report [Optional]
)
Parameters
MsTimeOut (optional)
Type: Long
Default Value: -1
Optional timeout value in milliseconds
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Returns runtime X coordinate, 0 if object is not found
Example
VBScript
msgbox Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeX()
JavaScript
alert(Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeX());

Step

GetRuntimeX
1500
true
x

Comment
First parameter is optional. Leave it empty

Step

GetRuntimeX
true
x
Comment
Fill all parameters