Microsoft Producer for PowerPoint 2003 SDK banner art
PreviousNext

Sample Batch Asset Loading File

This topic provides a sample Producer batch asset file for you to use. To test creation of this file, you will need to create the following items in the following locations. Alternatively, you can rename the items and locations in the included file to match existing files on your computer.

File or Directory Description
c:\temp A folder to hold the build log and the published file.
G:\Projects\Producer\My Video Files\CoverPhoto.gif An image file holding an image for the presentation introduction page.
G:\Projects\Producer\My Video Files\Marketing Video.wmv A video clip to include in the presentation. Must be at least 15 seconds long.
G:\Projects\Producer\My Video Files\Sales Video.wmv A second video clip to include in the presentation. Must be at least 55 seconds long.
G:\Projects\Producer\My Slides\My Slides.ppt A PowerPoint slide presentation with at least eight slides.
G:\Projects\Producer\My HTML Pages\html1.html

G:\Projects\Producer\My HTML Pages\html2.html

G:\Projects\Producer\My HTML Pages\html3.html

Three HTML pages to include in the presentation.

Copy and paste this file into a text editor, save it as a file with an .MSProducerBF file name extension as described in the topic Creating a Batch Asset Loading File, and run it as described in the topic Running a Batch Asset Loading File. Producer will stay open after the code in this file finishes processing.

<?ProducerBatchFile version="2.0"?>
<producer>
    <actions>
        <action command="logging">
            <param>c:\temp\ProducerBuildLog.log</param>
        </action>
        <action command="build"/>
    
         <action command="publish"/>

         <action command="pack">
            <param>C:\packaged producer file</param>
            <param>20</param>
        </action>

    </actions>

    <presentation>
        <properties>
            <property name="Author">Candy Spoon</property>
            <property name="Title"> A Basic Presentation</property>
            <property name="BackgroundColor">#E0E0E0</property>
            <property name="Copyright">Candy Spoon, All Rights Reserved, 2003</property>
            <property name="Description">This is a sample Producer Batch Asset Loading File</property>
            <property name="ImageFilename">G:\Projects\Producer\My Video Files\CoverPhoto.gif</property>

            <property name="TOCFont">Verdana</property>
            <property name="FontColor">Red</property>
            <property name="TOCFontSize">10pt</property>
            <property name="TOCBackgroundColor">Green</property>

            <property name="PublishDestination">C:\temp</property>
            <property name="PublishName">MyPresentation</property>
            <property name="PublishProfile" index="0">PV000.PRX</property>
            <property name="PublishProfile" index="1">PV001.PRX</property>
        </properties >

        <timeline>
            <sequence type="video">
                <media src="g:\projects\producer\my Video Files\Marketing Video.wmv" endtime="15" />
                <media src ="g:\projects\producer\my Video Files\Sales Video.wmv" begintime="10" begintrim="10" endtime="55" transitionindex="41"/>
            </sequence>

            <sequence type="slides">
                <media src="g:\projects\producer\my Slides\My Slides.ppt" index="0" begintime="10"/>
                    <media src="g:\projects\producer\my Slides\My Slides.ppt" index="1" begintime="25"/>
                <media src="g:\projects\producer\my Slides\My Slides.ppt" index="2" begintime="35"/>
                <media src="g:\projects\producer\my Slides\My Slides.ppt" index="7" begintime="45" endtime="55">
                    <tocentryclip title="Slide 7" indent="1"/>
                </media>
            </sequence>
        
            <sequence type="HTML">
                <media src="g:\projects\producer\my HTML Pages\html1.html" endtime="10"/>
                <media src="g:\projects\producer\my HTML Pages\html2.html" endtime="25"/>
                <media src="g:\projects\producer\my HTML Pages\html3.html" endtime="35"/>
            </sequence>
    
            <sequence type="Layout">
                <media src="style3videoslideshtml.css" endtime="36"/>
            </sequence>

            <tocentry title="The beginning" begintime="0"/>
            <tocentry title="Slide 1" indent="1" begintime="10"/>
            <tocentry title="Slide 2" indent="1" begintime="25"/>
            <tocentry title="Slide 3" indent="1" begintime="35"/>
        </timeline>

    </presentation>
</producer>
PreviousNext


© 2001-2003 Microsoft Corporation. All rights reserved.