can anyone provide VB snippet to populate the Text property of a Text Box element on the current screen of HS Touch app, eg:.
HS Touch screenname = "NowPlaying"
textbox element name = "SongName"
populate with below:
[$SCRIPT=&hs.DeviceString(352)]
the code would be executed from HSTouch by ActionWhenChanged of a DropList element named "SonosRoom"
it would "Run a HomeSeer script with values from elements(s)" and the 352 would be the value of the element
i have 15 sonos rooms so am trying to use one HSTouch screen to display sonos info for whichever room the user selects from the SonosRoom DropList element. above 352 is hardcoded, but i'll create a Select Case that assigns the relevant DeviceID based on the room selected value of the DropList
thanks
HS Touch screenname = "NowPlaying"
textbox element name = "SongName"
populate with below:
[$SCRIPT=&hs.DeviceString(352)]
the code would be executed from HSTouch by ActionWhenChanged of a DropList element named "SonosRoom"
it would "Run a HomeSeer script with values from elements(s)" and the 352 would be the value of the element
i have 15 sonos rooms so am trying to use one HSTouch screen to display sonos info for whichever room the user selects from the SonosRoom DropList element. above 352 is hardcoded, but i'll create a Select Case that assigns the relevant DeviceID based on the room selected value of the DropList
thanks
Comment