Numbering scheme for Ppt HTML files

C

Chris Lacey

Hi,

Does anyone know what the numbering scheme is for the files created by
Powerpoint (2002)'s Save As Web Page function.

I am attempting to broadcast live Powerpoint shows alongside an audio
stream, which I'm hoping to achieve by sending URL flip commands to Media
Encoder using VBA, after having published the presentation to a web server.

I've written some code that activates every time the slide is changed, but I
need to know what the filename will be for the corresponding HTML file so I
can get the URL flip to work. Is there any way of finding this out? I'm
currently using Wn.View.CurrentShowPosition to get the number of the current
slide, but this doesn't correspond to the HTML filenames for some reason
(the filenames go slide0001.htm, slide0002.htm, slide0005.htm,
slide0015.htm, etc!)

Any help much appreciated!! (as would any info regarding alternative or
better ways of broadcasting live Audio and Powerpoint)#

Cheers,

Chris.
 
C

Chris Lacey

Apologies for my hastiness in asking this question -- have now figured it
out.

For those who are interested, the HTML filename can be derived from the
slide's name, i.e Wn.View.Slide.Name.

This name doesn't include the extra zeros put into the filename, however --
here's a potentially useful script that will show the filename of the
current slide whenever it is changed:

Private Sub App_SlideShowNextSlide(ByVal Wn As SlideShowWindow)
Dim slideNumber As String
slideNumber = Mid(Wn.View.Slide.Name, 6)
While Len(slideNumber) < 4
slideNumber = "0" & slideNumber
Wend
MsgBox ("slide" & slideNumber & ".htm")
End Sub


Chris.
 
M

Michael Koerner

Chris, thanks for getting back with your findings. Greatly appreciated by all.

--
<>Please post all follow-up questions/replies to the newsgroup<>
<><><>Do Provide The Version Of PowerPoint You Are Using<><><>
<><><>Do Not Post Attachments In This Newsgroup<><><>
Michael Koerner [MS PPT MVP]


Apologies for my hastiness in asking this question -- have now figured it
out.

For those who are interested, the HTML filename can be derived from the
slide's name, i.e Wn.View.Slide.Name.

This name doesn't include the extra zeros put into the filename, however --
here's a potentially useful script that will show the filename of the
current slide whenever it is changed:

Private Sub App_SlideShowNextSlide(ByVal Wn As SlideShowWindow)
Dim slideNumber As String
slideNumber = Mid(Wn.View.Slide.Name, 6)
While Len(slideNumber) < 4
slideNumber = "0" & slideNumber
Wend
MsgBox ("slide" & slideNumber & ".htm")
End Sub


Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top