Are the variables that the plugin creates, like the weather alert ones, suppose to clear out after the alert has expired?
Because they are not.
I am using them now, since I can not get the "Last Alert Device" to work. It really messes with my HSTouch because the regular alert devices disappear after the alert expires, there fore I can't set things to use values to change buttons or screens.
Jon00 helped me with this script -
but my device still shows a warning from 2 days ago. So the variable must not be getting cleared after the alert expires.
Thanks,
Tim
Because they are not.
I am using them now, since I can not get the "Last Alert Device" to work. It really messes with my HSTouch because the regular alert devices disappear after the alert expires, there fore I can't set things to use values to change buttons or screens.
Jon00 helped me with this script -
Code:
Sub Main(ByVal Params As Object) Dim AlrtTitle As String hs.CreateVar("wxmlAlertTitle_1") AlrtTitle = hs.GetVar("wxmlAlertTitle_1") If AlrtTitle = "" Then hs.SetDeviceString(1381, "No active alerts", True) Else hs.SetDeviceString(1381, AlrtTitle, True) End If End Sub
Thanks,
Tim