object.AddHeaderScript (ScriptType As String, ScriptCommand As String, ScriptTime As Double) |
Remarks
Adds a header script to be executed at a particular time during playback.
This method can raise an error exception. For more information, refer to the Error Codes.
Header scripts are added when you know how many scripts you have and their location beforehand. Also, since they are stored in the header, they will need to be all downloaded before playback begins.
Stream scripts are added when you don't know how many you will have or when there are too many and you don't want to slow down the start of the playback. For example, if you have a live capture and there are certain notifications that you will receive during the capture, you would use stream scripts.
Win32, x64
See Also