Sends a script command to the client control.
object.SendScript Type Text
Parameter Description Type A String value specifying the type of command. Text A String value specifying the command's text.
This method has no return value.
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:
- URL - Launches the URL in the default browser.
- FILENAME - Opens the file and begins playing it.
Script commands can only be sent if the AllowScripts property is TRUE.
Return to Real-Time Encoder Automation Reference.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.