Announcement

Collapse
No announcement yet.

Need a substitute for HS.WaitEvents

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need a substitute for HS.WaitEvents

    In the following code snip I want to run this code on IIS instead of the HS web server. Can someone give me a suggestion for hs.waitsecs. TIA

    While objIE.Busy
    hs.WaitEvents
    Wend

    -Rupp
    ...One Nation Under GOD, Indivisible, With Liberty And Justice For All.

    [This message was edited by Rupp on Monday, 25 November 2002 at 09:16 PM.]
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    #2
    how about:

    function wait(delay)
    a=Timer
    while timer < a+delay
    hs.waitevents
    wend
    end function

    Comment


      #3
      I'm sorry. I need to run this on a machine that does not have HS running on it. So I need a replacement for the hs.waitevents.

      -Rupp
      ...One Nation Under GOD, Indivisible, With Liberty And Justice For All.
      💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

      Comment


        #4
        Use the WScript.Sleep from a VBScript. See this entry:

        wscript.sleep

        but it won't work as a wait for events to complete as it's not related to HS. It's a simple wait/sleep based on milliseconds.


        - huggy

        [This message was edited by huggy on Monday, 25 November 2002 at 09:36 PM.]
        |
        | - Gordon

        "I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show
        HiddenGemStudio.com - MaineMusicians.org - CunninghamCreativeMaine.website

        Comment

        Working...
        X