Announcement

Collapse
No announcement yet.

cancel a delayed trigger

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

  • peterpc
    replied
    Thanks,


    Works prefect!

    Leave a comment:


  • Bill Brower
    replied
    My alarm has a ten minute delay when I leave. It then creates delayed events called INTERIOR MOTION and DOORS AND WINDOWS. If I come back in before the alarm arms and hit the disarm, this is how I cancel the pending delayed events from a script. There may be more than one of the same name, this gets them all:

    ......

    for x = 1 to 6
    retval = hs.DeleteEvent("INTERIOR MOTION (delayed action)-" & x)
    retval = hs.DeleteEvent("DOORS AND WINDOWS (delayed action)-" & x)
    next

    ......

    Leave a comment:


  • peterpc
    started a topic cancel a delayed trigger

    cancel a delayed trigger

    When I have a event with a delayed trigger, how can I cancel the delayed trigger with an other event?
Working...
X