About the ASF Script Builder Utility
ASF Script Builder is a simple, interactive application with the following features:
- Easy-to-understand graphical user interface, to which you just add the text.
- Handy stopwatch for pinpointing when to insert markers and script commands.
- Ability to import and export Windows Media Services script files.
The ASF Script Builder Utility Sample demonstrates the ease with which properties, markers, and script commands can be built into a script file. This file can then be read by one of several applications, and quickly added to an ASF file.
Expanding on this Sample
The following examples show how you can extend the capabilities of the ASF Script Builder Utility Sample by modifying the Microsoft® Visual C++® source code included in this SDK.
- Build in .asf file output. Change the existing source code to call the ASFChop command-line utility from within ASF Script Builder. You can design a simple interface that allows users to add text elements to an .asf file without having to import the script file into another program. For more information about ASFChop, see the Windows Media Tools Documentation.
- Add a graphical timeline. Change the user interface to add a graphical timeline. The timeline can be an existing or custom control, or group of controls that give the user a graphical representation of marker and script command placement in the .asf file.
- Add preview features. Embed the Windows Media Player control into the sample. A user can immediately start Windows Media Player, and view a finished .asf file without leaving ASF Script Builder. Add labels to the ASF Script Builder interface that display script command type and command strings as they are played back.
- Merge multiple script files. Provide a way for users to import more than one script file. For example, one script file can contain standard .asf file properties, another a list of images, and another a list of DHTML commands. You can expand text handling functions to make it easier to edit multiple commands in a list, or to automate sorting commands or merging a list of times with a list of markers.
- Enhance a custom authoring application. If you are using a custom application that integrates audio and video content, use text-based script files, embedded instances of the Windows Media Player control, and Windows Media Tools components to add Windows Media Technologies support. You can build one authoring environment that handles every part of your production process, from creating the content to copying finished files to a Windows Media server.
The default path to the source code for this utility is C:\Program Files\Windows Media Components\SDK\Samples\ScrBld. For more information, see the Windows Media Player Control SDK.
See Also
Using the ASF Script Builder Utility Sample, Windows Media Technologies Solutions Samples
© 1996-1999 Microsoft Corporation. All rights reserved.