Jump to content

Playing A .pps On Fullscreen Without Human Imput


TheDutchBeast

Recommended Posts

Dear PHP freaks,

At this moment I am busy for my company to make a system that will run without human input.

You define a powerpoint show(.pps) and run it on fullscreen, that is on a big 32" lcd screen.

The problem is, I have my video working, but it just won't run in fullscreen automatically, whatever I try to do.

I am using IE 8. I got a .ppt working, but it just won't run a .pps

This is my code;

 

<html>

<head>

<title>PPT with PHP</title>

</head>

<body>

<?php

//*** Font Color ***//

$wdColorLightGreen = "&HCCFFCC";

$wdColorBlue = "&HFF0000";

$ppApp = new COM("PowerPoint.Application");

$strPath = realpath(basename(getenv($_SERVER["SCRIPT_NAME"]))); // C:/AppServ/www/myphp

$ppApp->Visible = True;

$ppDoc = "dave2.ppt";

$ppName = "MyPP/MyPPt.ppt";

$ppPres = $ppApp->Presentations->Open(realpath($ppDoc));

 

echo"Je powerpoint wordt geopend en afgespeeld";

echo"Een ogenblik geduld";

?>

 

</body>

</html>

 

 

But i want this to run a .pps. Powerpoint Slide Show.

When i change all the .ppt to .pps, it certainly does not work.

 

If you guys could help me, it would be great.

 

Greetings from Holland.

 

Dave

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.