Hi,

I wonder how I can get the name of the current slide in a running presentation out of a piece of BASIC code like this:

sub test()
   dim oDoc as object
   dim oPage as object
   dim sName as string
   oDoc = StarDesktop.CurrentComponent
   oPage = oDoc.CurrentController.CurrentPage
   sName = oPage.LinkDisplayName
   ...
end sub

Unfortunately CurrentPage returns the slide that was selected before the presentation has been started and not the momentarily shown slide during the running presentation.

I would appreciate any hint.

Thanks

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to