SendScript

Description

Sends a script command to the client control.

Syntax
object.SendScript Type Text

ParameterDescription
Type A String value specifying the type of command.
Text A String value specifying the command's text.

Return Value

This method has no return value.

Remarks

A script command is associated with a designated time in the ASF stream. When the stream reaches the appointed time, the NetShow Player control rendering the stream issues an event. The event can be captured and processed by an event handling routine. Any Type of command can be sent and reciprocal event handler written for the player to process the command. The following Types of commands are automatically handled by the player control:

Script commands can only be sent if the AllowScripts property is TRUE.

See Also

AllowScripts

Return to Real-Time Encoder Automation Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.