Advance a PPS with Javascript?

S

Steve Ricketts

I have an web application that loads a variety of PPS files into the bottom
frame of a two frame frameset. I would like to advance the PPS from slide
to slide based on the calculations of a Javascript function in the top
frame. This is one of those things that sounds simple but I've spent hours
on it and can't get it. Does anyone have any ideas?

Many thanks for any help.

Steve
 
S

Steve Ricketts

Yes, I've looked at the HTML output. What we're trying to do is get the
animation effects rather than static pages. If I've misunderstood the
capabilities of PowerPoint's HTML, I'm game for an education. ;-)

I thought about sending keystrokes but I'm not sure (1) How to send them
with Javascript/VBScript or (2) What to send them to!

Many thanks for the reply,

Steve
 
C

Chirag

Hi Steve,

When it comes to automation, Javascript syntax is similar to that of VB(A).
Look at http://officeone.mvps.org/vba/ppt_to_html.html for an example that
shows how similar they are.

In your case, you need to get hold of the PowerPoint object (say, PPTApp)
running in the separate frame and use the following code to navigate to the
next slide in Javascript:
PPTApp.SlideShowWindows(1).View.Next();

Does this help?

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
S

Steve Ricketts

Nearly perfect!! Thanks.

The only thing that I'd like to do is keep the presentation within the frame
itself and not let it take over the whole screen. Is that possible? I want
the user to see the information in the top frame as the PowerPoint
Presentation is playing in the bottom one.

Thanks again for your help.

Steve
 
S

Steve Ricketts

What's odd is that I can't find a thing about being able to "place" the
PowerPoint show in a window, form, frame. Everything is working but the
"show" is on top of everything else. It seems like someone would want to
trap the show and put it in something.

Steve

Steve Rindsberg said:
Yes, I've looked at the HTML output. What we're trying to do is get the
animation effects rather than static pages. If I've misunderstood the
capabilities of PowerPoint's HTML, I'm game for an education. ;-)

What version of PPT are you using?
I thought about sending keystrokes but I'm not sure (1) How to send them
with Javascript/VBScript or (2) What to send them to!

I don't have a clue about that one, I'm afraid.

Many thanks for the reply,

Steve

 
M

msnews.microsoft.com

I changed to browse by individual and that makes it less than full screen
but it's still not in the frame. The presentation comes up inside the
PowerPoint application.

Since we're now a bit off the original topic. I'm going to post the new
question on running PowerPoint in a frame.

Thanks for the help!

Steve

Steve Rindsberg said:
What's odd is that I can't find a thing about being able to "place" the
PowerPoint show in a window, form, frame. Everything is working but the
"show" is on top of everything else. It seems like someone would want to
trap the show and put it in something.

Open the presentation in PowerPoint and check Slide Show, Set up Show ...

If it's set to Kiosk, then it's going to do its utter best to take over
the
screen. That's the point of kiosk mode, so it's just doin' it's job.

If so, try the other two options to see if they work better.
 
Top