Run Method



The Run method runs a configured external application.


Syntax

    SiteKiosk.ExternalApps.Run(path, bool)
Parameters
    path String that specifies the path to the application.
    bool Boolean value that specifies if SiteKiosk is to check first if this application is already running. If it is already running, it will be maximized and focused.
Return Value
    None.
Remarks
    Note that in order for SiteKiosk to be able to automatically close applications started through the SiteKiosk Object Model, they need to be in the list of external applications. External applications can be configured in the SiteKiosk configuration.

    Use slash instead of backslash in the path string.

Examples
    The following example runs an external application.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.ExternalApps.Run("c:/windows/notepad.exe", false);
    </SCRIPT>
    

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

Back to top