Documentation on how Impress can trigger events that can be seen to other control systems?

Using the Windows version of LibreOffice Impress…

Documentation on how Impress can trigger events that can be seen to other control systems? For example the following link shows how PowerPoint can send change-slide events to a BlackMagic ATEM Video Switch, so when a presenter changes a slow, the ATEM Video Switch presents the slide for 30 seconds, then removes the slide, switch the video source back to the live speaker (camera) view.

This is done via the BlackMagic ATEM SDK/API on the switcher side, which I have documentation for. But I don’t know how Impress would communicate or signal such an event as ‘next-slide’ as PowerPoint can do. In short, This automation can be done with PowerPoint, even Keynote on the macOS, but have yet to find any one that has done the same with Impress?

It is possible to write a macro, which change to the next page and call some functions via commandline…

Ah? Could you point me in the direction of such macros? examples of such?

So I found the documentation on LibreOffice Macros. I have a macro that works, if I run it once my slide deck is open in impress. But if I link the same exact macro the the ‘document load complete’ event, the macro fails at the following code, see below, with the message…

BASIC runtime error.
Property or method not found: Presentation.

Code where error results…

oDoc = ThisComponent
oPresentation = oDoc.Presentation

This is simply acquiring the presentation object of the document opened. It makes no sense that this works fine open the document is already open, but does not work when the document loaded complete event triggers the same exact macro.

It’s a macro which needs a presentation. So a presentation must be loaded first.