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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.