Announcement

Collapse
No announcement yet.

Event modification for auto remove

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

  • Moskus
    replied
    The best method I know, at least when I vaguely know what I'm looking for, is to just use IntelliSense.

    Write "hs." and start typing what you think the function is named.

    Leave a comment:


  • w.vuyk
    replied
    That is indeed the way I found it, browsing the object. And then you also will find some more


    Wim

    Leave a comment:


  • Moskus
    replied
    Originally posted by jimbell View Post
    Is there a way to programmatically get all the methods?
    I'm sure there is (using Reflection or something like that) but it would be complicated.

    Why not just use the Object browser (hit the F2 key)?

    Leave a comment:


  • jimbell
    replied
    Thanks. I use TenScripting all the time. What a treat over coding with a regular text editor as I once did for Homeseer. Do you know if there is anyway to get the hs.object methods in a list. In out current example, unless I know that the method name starts with delete, it is hard to find since studio express shows the methods as you type them. Is there a way to programmatically get all the methods?

    Leave a comment:


  • Moskus
    replied
    Originally posted by jimbell View Post
    Thanks! I can't find this one in the HS3 document PDF. How did you find this one and even more importantly, have you found other HS3 function/methods that are not in the manual?
    Download the plugin sample or tenScripting, open either in Visual Studio. Then you can browse through the methods and properties in the hs. object.

    Leave a comment:


  • jimbell
    replied
    Thanks! I can't find this one in the HS3 document PDF. How did you find this one and even more importantly, have you found other HS3 function/methods that are not in the manual?

    Leave a comment:


  • w.vuyk
    replied
    Jim,

    It costed me some research too, but it is available:

    "hs.DeleteAfterTrigger_Set(Evref)"

    Guess this is what you were searching for?

    Regards,

    Wim

    Leave a comment:


  • jimbell
    started a topic Event modification for auto remove

    Event modification for auto remove

    I want to create an event, have it run with a time trigger and then delete itself. I have this running in HS2.
    After spending quite a bit of time with the documentation, I can now create an event, set the trigger type to time and add a device action. I need to set the event option to "remove this event after triggering". I can't find a function that will allow me to modify the event options. Hopefully this is an oversight in the docs and a function is provided to modify this option.
    If nothing is available, I need a "work around" to achieve this functionality.
Working...
X