SiteKiosk Documentation
One Step Back

ScreenSaver Object




The ScreenSaver object controls the screensaver.


Members Table

    The following table lists the members provided by the ScreenSaver object.

    Members
    PropertiesDescription
    ActiveIf the screensaver is active.
    EnabledIf the screensaver is enabled.
    IdleTimeContains the idle time.
    RunningTimeCurrent running time.
    WaitTimeContains the wait time.
    MethodsDescription
    ActivateStarts the screensaver.
    ReactivateReactivates SiteKiosk.
    EventsDescription
    OnScreenSaverActivatorFires when a sensor detects activity/inactivity.
    OnScreenSaverBeginFires when the screensaver becomes active.
    OnScreenSaverEndFires when the screensaver becomes inactive.

Remarks
    This object is available through the main object SiteKiosk. Use the ScreenSaver object to receive the screensaver settings or to reactivate it.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows in an alert window if the screensaver is active.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.ScreenSaver.Active);
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to topBack to top

© 1997-2011 PROVISIO - Aventura, USA & Muenster, Germany -