# LastMessages Collection The LastMessages collection contains the last logfile entries. Members Table The following table lists the members provided by the LastMessages collection.
Members
Properties | Description
Count | The number of stored logfile messages.
Methods | Description
Item | Returns one item of the collection.
Remarks This collection is available through the object Logfile. Use the LastMessages collection to retrieve information about the last logfile entries. 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 The following example shows the number of messages saved in this collection.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Logfile.LastMessages.Count);
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top