# AddPattern Method The AddPattern method adds an URL pattern to the Patterns collection. Syntax
    SiteCashZone.AddPattern(str)
Parameters
str | String that contains the new pattern.
Return Value None. Remarks When using SiteKiosk 6.5 and above and you want to add a local file, use file:/// and not file:// (e.g. file:///c:/program files/sitekiosk/html/startpage/start.htm). Examples The following example adds an URL pattern to the Patterns collection of the first existing zone.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Zones.Item(1).AddPattern("newPattern");
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top