# ScriptDispatch Object The ScriptDispatch object represents the members defined in the configured browser script. Syntax
    [obj=] SiteKiosk.ScriptDispatch
Remarks This object is available through the main object SiteKiosk. Use the ScriptDispatch object to use objects, properties and methods defined in the browser script file configured at "Browser Design -> Advanced -> Execute Script". In external script files, the alert method can only be used as follows: "SiteKiosk.WindowList.MainWindow.SiteKioskWindow.SiteKioskWebBrowser. WebBrowser.Document.parentWindow.alert('mymessage')". 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 scriptfile.js (configured at "Browser Design -> Advanced -> Execute Script"):
    var mystring = "SiteKiosk";

    function change_mystring()
    {
       mystring = "PROVISIO";
    }
The following example shows how to use members of the configured browser script file notated above.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.ScriptDispatch.mystring);
    SiteKiosk.ScriptDispatch.change_mystring();
    alert(SiteKiosk.ScriptDispatch.mystring);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top