# GetCodes Method The GetCodes method returns a range of codes. Syntax
    [obj=] SiteCafe.Server.Codes.GetCodes(start, maxCount)
Parameters
start | Long value that specifies the start code.
maxCount | Long value that specifies the maximum number of codes.
Return Value Returns a CodesCol collection containing the specified codes. Remarks None. Examples The following example displays the name of the first code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    codes = SiteCafe.Server.Codes.GetCodes(1, 10);
    alert(codes.Item(1).Name);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top