Hello all,

I'm now at a stage where I want to detect whether a presentation has
ended or not.  My initial attempt at this was:
    while presentation.isRunning():
        time.sleep(0.1)
    # things to do after the presentation has ended

Unfortunately, this doesn't work, as the "Click to exit presentation..."
'slide' that is displayed after the last slide in the presentation means
that presentation.isRunning continues to return True.  To get rid of the
"Click to exit presentation..." 'slide', I attempted to use:
    presentation.setPropertyValue("Pause", 0)
before running it which, according to the API docs[0], should mean that
'no black screen is shown'.  This didn't have any apparent effect.

Can anyone help me out?


Thanks,

Dan

[Footnote 0:
http://api.openoffice.org/docs/common/ref/com/sun/star/presentation/Presentation.html#Pause]
-- 
credativ ltd         UK office:  +44 1788 298150
PO Box 3868          Direct ext: +44 1788 298152
Rugby                Email:      [EMAIL PROTECTED]
CV21 3WW             Web:        http://www.credativ.co.uk/

credativ limited is registered in England & Wales, company no. 5261743
registered office: Suite 2 Bloxam Court, Corporation Street, Rugby CV21
2DU


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

Reply via email to