Announcement

Collapse
No announcement yet.

Scripting with elements

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Scripting with elements

    i have a question maybe you can answer for i need to know how to use the elements in a script any help or paointers would be great

    #2
    http://board.homeseer.com/showthread.php?t=132134
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      I meant to say i need to make a script that takes the input from the text element and lets say speak what was entered for example.

      Comment


        #4
        Solved it

        Sub Main(sVal)
        msgbox(sVal)
        End Sub

        this writes the sVal into a text box so then i modified it so it looks like this

        Sub Main(sVal)
        'hs.speak(sVal)
        s = (sVal)
        hs.SetDeviceString "E70",""&s
        End Sub

        and it writes it to a device so now it can be passed to a script

        thanks Rupp you answered it on a different thread

        ~Ghost~

        Comment

        Working...
        X