Thought based on the prior scripts I could do this one but no go.
Here's the AS:
- Code: Select all
tell application "IndigoServer"
set the value of variable "WUForecastAll" to (value of variable "WUForecast") & " " & (value of variable "WUHighTemp") & (ASCII character 188) & "/" & (value of variable "WULowTemp") & (ASCII character 188)
end tell
Here's what I have so far:
- Code: Select all
WUForecastAll = indigo.variables[320389015].value # ID of `WUForecastAll `
WUForecast = indigo.variables[431199923].value # ID of `WUForecast `
WUHighTemp = indigo.variables[1796297015].value # ID of `WUHighTemp `
WULowTemp = indigo.variables[1401542304].value # ID of `WULowTemp
indigo.variable.updateValue(320389015, WUForecast + " " + WUHighTemp + "°" + "/" WULowTemp + "°") # ID of `WUForecastAll `
The format I'm after would be: Sunny 87°/56°
Hope I'm not overstepping with all these conversions.
Thanks,
Carl