Flags Property



 
The Flags property contains the flags of the download.


Syntax

    SiteKiosk.Network.Downloads.Item(index).Flags [=long]
Possible Values
    Long value that specifies or retrieves the flags.

    The property is read/write.
Remarks
    Possible values are:

    0 : (default), file will be opened directly after the download
    1 : (internal), file will be downloaded to the temporary files folder and will not be opened
    2 : (internal), file will not ne opened after download but copied into the configured folder
    3 : (internal), file will be downloaded into the cache and not be started
Examples
    The following example shows the flags of the first download in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Network.Downloads.Item(1).Flags);
    </SCRIPT>
    

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

Back to top