Trigger makro on slide change

I want to trigger a macro every time a slide is changed.
I don’t find a way to do this and no documentation how it could be done. Is that correct that there is no way to do this?

How to correctly add Presentation listener to macro?

Impress - Go back to last shown slide - #6 by fpy