I made this short script to get the latest weather warning from the weather XML plugin.
How do set the device string to something else once the alert is over and the variable is no longer there?
Thanks,
Tim
Code:
Sub Main(ByVal Params As Object) Dim AlrtTitle As String AlrtTitle = hs.GetVar("wxmlAlertTitle_1") hs.SetDeviceString( 1381, AlrtTitle, True) end sub
Thanks,
Tim
Comment