Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > Automation > SimRunWait

SimRunWait

Declaration
Parameters
Return Value
Remarks
Example
See Also

Declaration

object.SimRunWait()
Top of page

Parameters

object
Required. Always the name of a R2DToo.FrontEnd object.
Top of page

Return Value

None. Top of page

Remarks

Runs a paused simulation and waits until simulation is paused before returning. Intended to be used with
StopIfAdd but will also return if user presses Pause Simulation button. Top of page

Example

' [VBScript] ' load Dim R2DToo Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") ' set stop condition R2DToo.StopIfAdd("Tick >= 1000") ' run and wait... R2DToo.SimRunWait() WScript.Echo "Simulation paused!" ' unload Set R2DToo = nothing
Top of page

See Also

SimRun, SimWait, SimStep, StopIfAdd.
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:48pm