Opening a presentation via CLI

Hello,

I was wondering if there is some kind of way to open a presentation via a command (cli) or via a script. The reason is that i want to have an automatic presentation that starts with windows.

It should also be in fullscreen mode and should repeat until pressed ESC.

Does anyone have an idea if that is possible? I wasn’t able to find anything similar.

Thank you in advance,
Jonas

Hello @KFJ,
Yes, you can open the document automatically using the Windows Task Scheduler.

Example command:
C:\Program Files\ONLYOFFICE\DesktopEditors\DesktopEditors.exe “{full file path}”

Hi @Roman,

I know that I can execute the program with a command. I am just wondering if there are Arguments / Prameters to launch it into fullscreen and looping it.

Hi @heinzv :wave:

You can save the presentation in PPTX format and open it using the following option:

C:\Program Files\ONLYOFFICE\DesktopEditors\DesktopEditors.exe" --view=C:\path_to_file.pptx

Key --view will run editor with full screen mode.