Powerpoint Viewer Fullscreen Problem RRS feed

  • Question

  • Hello!

    So I have to do a script where my Power Point Presentations run automatically with Power Point Viewer (I figured how it works with Power Point, but I need or want to do what my boss wants me to do). 

    The problem is that my presentation is running but I don't know how to run it automatically in fullscreen. I did a lot of researching but every method I used just didn't work. (I'm also new to scripting. I just started learning it yesterday)

    Set objPPT = WScript.CreateObject( "WScript.Shell")
    objPPT.Run ("""C:\User\Here\Name.pptx")

    This is what I got so far.. Not much but there is not really more that needs to happen for me except for that fullscreen thing. 

    (I set the file to open up with Powerpoint Viewer as the standard application)

    Thank you very much for your answers!

    • Moved by Bill_Stewart Friday, July 27, 2018 8:21 PM Off-topic
    Thursday, May 17, 2018 10:42 AM

All replies

  • You can't.  The Shell cannot set full screen.  It can only maximize and minimize.  You need to post in the PPT developers forum to learn how to automate PPT from code.


    Thursday, May 17, 2018 10:58 AM
  • Here is a starter that gets thing up and running.

    $ppt = New-Object -ComObject PowerPoint.Application
    $ppt.Visible =  [Microsoft.Office.Core.MsoTriState]::msoTrue
    $p = $ppt.Presentations.Open($pptfile)


    Thursday, May 17, 2018 11:18 AM
  • If you just mean the standalone viewer then just use the command line

    ppview32 /s filename.ppt



    • Edited by jrv Thursday, May 17, 2018 11:22 AM
    Thursday, May 17, 2018 11:21 AM