CorelDraw 2018 - Page Sorter View - VBA manipulation with pages?

Hello everybody.

I would like to ask if there is any way to use VBA to detect how many pages are selected in Page Sorter View, or to detect the index of the currently selected page.
Page Sorter View is very useful, but in this mode the page numbering is not displayed, so I would like to write a macro to make working in this mode a bit easier.

Thank you very much for any ideas.
Martin.