WaitCommandComplete method.

Description
This command waits for a command started with AsyncMode = True to complete.

Syntax
Sub WaitCommandComplete ()

See Also
AsyncMode Property

WaitCommandComplete Example
VB Example:

With m_spel  
  .AsyncMode = True  
  .Jump("pick")  
  .Delay(500)  
  .On(1)  
  .WaitCommandComplete()  
End With  

C# Example:

m_spel.AsyncMode = true;  
m_spel.Jump("pick");  
m_spel.Delay(500);  
m_spel.On(1);  
m_spel.WaitCommandComplete();