Running Powerpoint

BlitzPlus Forums/BlitzPlus Programming/Running Powerpoint

Seb,

thanks for the information so far. However, I still have a couple of related problems. My application needs to run a list of Powerpoint files and, when the last one has been shown, start again at the beginning.

If I use the "/L" switch in Powerpoint Player, it exits after the last slideshow. If, however, I manage the list myself, I don't know whether there is already a slideshow running, so keep re-triggering the thing. I sort of need (pseudo code):

Repeat
     If {slideshow not already running}
          Execfile ("pptview.exe" + Chr(34) + MyFile + Chr(34) +"/S")
     Endif
Until Keyhit(1)


Thanks.