Jump to content
Sign in to follow this  

Tray Icon Question

Recommended Posts


I've searched a little here and there.

Havn't really came up with anything.

What I Wanted to do is retrieve the weather off weather.com, which Im able to do.

#include <array.au3>
#include <file.au3>

$Code = "48313"
$File = _TempFile()

;Line 29
Func Weather()
INetGet("http://www.weather.com/weather/local/" & $Code, $File, -1, 0)
$Line = FileReadLine($File, 29)
$LineA = StringSplit($Line, "")
$Title = FileReadLine($File, 18)
;Get city and state name, 34 from left, 22 from the right
$CityNameA = StringTrimLeft($Title, 7);
$CityName = StringTrimRight($CityNameA, 22)
$Cur_Temperature = $LineA[38] & $LineA[39] & " °F"; Temperature 38, 39
$Cur_Hum = $LineA[52] & $LineA[53] & " %";Humidity 52, 53
$Cur_Wind = $LineA[67] & " MPH";Wind 67
ToolTip($CityName & @CRLF & "Temperature: " & $Cur_Temperature & @CRLF & "Humidity: " & $Cur_Hum & @CRLF & "Wind: " & $Cur_Wind, 0, 0)

While 1

My plan was to just have the temp. display as a tray tip icon. Then when you mouse over, it will show Humidity, wind etc. Is it possible to make a tray icon display text?

Any help in the right direction in doing something like this would be great.


Edited by Sardith

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this