get, runtime, width, size, scriptless, script-less, scripted, step, view, stepview

Method GetRuntimeWidth

Returns runtime Width property, method has internal Exist() call for position recalculation.

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetRuntimeWidth( 
        Long MsTimeOut [Optional],
        Boolean Report [Optional]
)

Step

GetRuntimeWidth

1500

true

width

MsTimeOut

Report

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 Width, 0 if object is not found

Example

VBScript

width = Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeWidth()
'set optional parameters
width = Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeWidth(1500, True)

JavaScript

var width = Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeWidth();
// set optional parameters
width = Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeWidth(1500, true);

Comment

Fill all parameters

Step

GetRuntimeWidth

1500

true

width

Comment

First parameter is optional. Leave it empty

Step

GetRuntimeWidth

true

width

Contact Us

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552