Here's some weather icons I put together if anyone might have a use for them.
I attached a zip file with the icons but nothing shows...how best to do that?
Carl
ckeyes888 wrote:Here's some weather icons I put together if anyone might have a use for them.
Carl
tell application "IndigoServer"
set theText to value of variable "Weather_Condition"
if theText contains "Overcast" then
set the value of variable "Weather_Condition" to "Overcast"
else if theText contains "Rain" and theText contains "Light" then
set the value of variable "Weather_Condition" to "Rain_Light"
else if theText contains "Rain" and theText contains "Freezing" then
set the value of variable "Weather_Condition" to "Sleet"
else if theText contains "Rain" then
set the value of variable "Weather_Condition" to "Rain"
else if theText contains "Scattered" and theText contains "Showers" then
set the value of variable "Weather_Condition" to "Scattered_Showers"
else if theText contains "Sleet" then
set the value of variable "Weather_Condition" to "Sleet"
else if theText contains "Snow" and theText contains "Blowing" then
set the value of variable "Weather_Condition" to "Snow_Blowing"
else if theText contains "Snow" and theText contains "Fog" then
set the value of variable "Weather_Condition" to "Snow_Fog"
else if theText contains "Snow" then
set the value of variable "Weather_Condition" to "Snow"
else if theText contains "Stormy" then
set the value of variable "Weather_Condition" to "Stormy"
else if theText contains "Thunderstorms" then
set the value of variable "Weather_Condition" to "Stormy"
else if theText contains "Thunderstorm" then
set the value of variable "Weather_Condition" to "Stormy"
else if theText contains "Hail" then
set the value of variable "Weather_Condition" to "Hail"
else if theText contains "Unknown Precip" then
set the value of variable "Weather_Condition" to "Overcast"
else if theText contains "Squalls" then
set the value of variable "Weather_Condition" to "Rain"
end if
end tell
Users browsing this forum: No registered users and 3 guests