Announcement

Collapse
No announcement yet.

vb Script - EventSetTimeTrigger

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

    vb Script - EventSetTimeTrigger

    I am converting an old script to be able to have it work in HS3 and I am having trobles finding documentation for vb script calls for HS3.

    I have the script create a new event with:

    hs.NewEventEx "Wake Up", "Alarm Clock", ""

    but I cannot use hs.EventSetTimeTrigger "", new_time to set the time.

    Any ideas on how to do this??? I have the script almost done, but cannot get passed this final step.
    Kirk

    http://cleverhouseautomation.ca
    http://southcoastwebsitedesign.ca

    #2
    I'm not sure I would stress about getting it working, the command has been broken for some time - http://bugzilla.homeseer.com/bugzill...ug.cgi?id=2459

    Actually getting it working with VBScript I am unsure of but it may be because of the Date parameter, if it is a .net type Date object I wonder if VBScript will struggle to pass it correctly.

    Comment


      #3
      Wow, thanks for the update. Apparently the team at HS have dropped the ball on that one.
      Kirk

      http://cleverhouseautomation.ca
      http://southcoastwebsitedesign.ca

      Comment

      Working...
      X