IR Framework

StopWatch.start Method

Sets the start time of a StopWatch object.
object.start ( )

Arguments

object
Required. Always the name of a StopWatch object.



Remarks

If the start method is not used, the start time for the StopWatch object defaults to the time when the object was instantiated.
The following example illustrates the use of the start method.

var swTracker = new Application.StopWatch();
swTracker.start();
ActiveDocument.Sections["Q-Contract Expenditures"].Process();
swTracker.stop();
Alert(msToTime(swTracker.elapsed));


Applies To:

StopWatch Object



Requirements





See Also

stop() method
elapsed property