AddFixedTimeEvent Method

The AddFixedTimeEvent method calls a script function at a specified time.


    [evtid=] SiteKiosk.Scheduler.AddFixedTimeEvent(h, m, s, func)
    h Long value that specifies the hour.
    m Long value that specifies the minute.
    s Long value that specifies the second.
    func Function that is called at the specified time.
Return Value
    Returns a Long value that contains the event ID.
    The func parameter can be a JavaScript or VBScript function. When this function is called, the event ID is transmitted as a parameter.
    The following example calls a JavaScript function at 12:10:00.

    <SCRIPT TYPE="text/javascript">
    evtid = SiteKiosk.Scheduler.AddFixedTimeEvent(12, 10, 0, myfunction);
    function myfunction(eventID)
       alert("The time is 12:10");

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

Back to top