Announcement

Collapse
No announcement yet.

[Scripting] Return types of getters?

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

    [Scripting] Return types of getters?

    Where can I find information about the return types and object structures for some of the scripting interface 'getters'. I was looking for something which would get the power state of a zone, but it didn't look like there was an explicit one

    I found RequestZoneInfo but I couldn't find anything about the return type or whether it even returns the power state.

    I was trying to do something like:

    Dim r as ?something?
    r = hs.PluginFunction("BLRussound", "", "RequestZoneInfo", new Object(){1,1})
    hs.writelog("Temp","C1Z1 Power = " & r.??Power??)

    A CStr on r returns an empty string declaring r as both string and object.

    Thanks,
    John.

    #2
    I do not believe that call returns anything. It just tells the plugin to request zone info for the specified zone. I will have to check for sure

    Check the help web page in the plugin and the script calls should all be in there
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment

    Working...
    X