# LoadScript Method The LoadScript method loads a script file. Syntax
    [obj=] SiteKiosk.LoadScript(path)
Parameters
path | String that specifies the path of the script file.
Return Value Returns an object containing all members of the script file. Remarks Possible script file types are .js and .vbs. Useful scripts can be downloaded at https://www.sitekiosk.com. Examples The following example shows how to load a script and access a member defined in the script.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydisp = SiteKiosk.LoadScript("c:/myscript.js");
    alert(mydisp.membername);
    </SCRIPT>
Applies to SiteKiosk v5.5 (and later versions). Back to top