# GetPricePerHourForURL Method The GetPricePerHourForURL method determines the price per hour for a specified URL. Syntax
    [cur=] SiteKiosk.Plugins("SiteCash").GetPricePerHourForURL(url, if, zn)
Parameters
url | String that specifies the URL.
if | Boolean value that indicates if the URL is a frame.
zn | String property that will be filled with the zone name.
Return Value Returns a Currency value that contains the price per hour for the specified URL. Remarks Use the CurrencyFormatter object for currency functionality. Examples The following example shows the price and the zone name of a specified URL in an msg box.
    <SCRIPT TYPE="text/vbscript">
    Dim ZoneName
    Dim Price
    Dim SiteCash
    url = "http://www.sitekiosk.de/"
    window.external.InitScriptInterface
    Set SiteCash = SiteKiosk.Plugins("SiteCash")
    price = SiteCash.GetPricePerHourForURL(url, False, ZoneName)
    MsgBox(price)
    MsgBox(zonename)
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top