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()
Parameters
object
Required. Always the name of a
R2DToo.FrontEnd
object.
Return Value
None.
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.
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
See Also
SimRun
,
SimWait
,
SimStep
,
StopIfAdd
.
[Rik's Office Hours]
[Contact Rik]
Last updated: Fri Apr 30 2004, 1:48pm