Script Object



 
The Script object controls the SiteCash script.


Members Table

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

    Members
    Objects Description
    Dispatch Contains the members defined in the script file.
    Properties Description
    Filename Name of the script file.
    Methods Description
    AddDispatch Adds a member to the script.
    Start Starts a choosen script.
    Stop Stops the script.

Remarks
    This object is available through the object SiteCash. Use the Script object to control the members of the SiteCash script file.

    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 the name of the SiteCash script file in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").Script.Filename);
    </SCRIPT>
    

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

Back to top