# AccountEnabled Property The AccountEnabled property indicates if the script device account is currently enabled. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").
    AccountEnabled [=bool]
Possible Values
    Boolean value that specifies or retrieves if the script
    device account is currently enabled.
The property is read/write. Remarks The SiteKiosk Object Model can only access the script device account when it is enabled. If this property gets disabled, the script device credit will be subtracted from the account balance of the SiteCash object immediately. Examples The following example determines if the script device account is currently enabled and shows it in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    scash = SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice");
    alert(scash.AccountEnabled);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top