Note: this script has been discontinued
Gets worldwide weather information from Yahoo! Weather.
Download
Weather
Started by
polyethene
, Sep 10 2005 04:04 PM
76 replies to this topic
#1
-
Posted 10 September 2005 - 04:04 PM
Titan, this looks really cool and will be a keeper.
I added one line:
IniRead, Interval, % SettingsFile, Settings, Interval, % 10 * 60 * 1000
Just before this line:
GuiControl, , DisplayTInteveral, % Floor((Interval / 1000 / 60))
Because, when I click on the Set button, it would display the INI value that it read when the program first started up.
There's probably a better way to address this, but I just did a quick fix to it.
BTW, this is a typo -> DisplayTInteveral and should be DisplayTInterval, right? At least it's consistent throughout the code... 8)
I added one line:
IniRead, Interval, % SettingsFile, Settings, Interval, % 10 * 60 * 1000
Just before this line:
GuiControl, , DisplayTInteveral, % Floor((Interval / 1000 / 60))
Because, when I click on the Set button, it would display the INI value that it read when the program first started up.
There's probably a better way to address this, but I just did a quick fix to it.
BTW, this is a typo -> DisplayTInteveral and should be DisplayTInterval, right? At least it's consistent throughout the code... 8)
#2
-
Posted 10 September 2005 - 07:08 PM
I am he of whom he speaks!
Thanks, I just fixed the two bugs and updated the download link
#3
-
Posted 10 September 2005 - 07:30 PM
Cool.
I like how the system tray icon changes with the weather. If I see a hurricane, I'm leaving town.
I also like the "Click here for further forecast information..." thing.
I like how the system tray icon changes with the weather. If I see a hurricane, I'm leaving town.
I also like the "Click here for further forecast information..." thing.
#4
-
Posted 10 September 2005 - 07:43 PM
I am he of whom he speaks!
Quite funny, we have bad weather here right now
#5
-
Posted 10 September 2005 - 07:49 PM
Very nice design Titan . It doesn't seem to work for a few locations though. Here's one example of one that doesn't seem to work: http://weather.yahoo...AXX0345._c.html
I gave it this url: http://weather.yahoo...t/CAXX0345.html
I gave it this url: http://weather.yahoo...t/CAXX0345.html
#6
-
Posted 10 September 2005 - 07:51 PM
Yeah, I saw that and it made me think of a hurricane. It's cool how I can easily look at the weather in other places...
#7
-
Posted 10 September 2005 - 07:54 PM
I am he of whom he speaks!
Hmm... it seems to work ok if I I enter it as http://weather.yahoo... ... ce_units=1 . An option to enter the list of locations would be great .
#8
-
Posted 10 September 2005 - 07:57 PM
I just fixed that bug, download link updated sorry.It doesn't seem to work for a few locations though. Here's one example of one that doesn't seem to work: http://weather.yahoo...AXX0345._c.html
I was going to make a list for the weather in all areas available but they're so many. If you look at settings.ini, it's easy to manually add an entry so maybe you can add a few of your favourites.
#9
-
Posted 10 September 2005 - 08:05 PM
It doesn't seem to work for a few locations
Also didn't work for my location (Chiayi, Taiwan) until I added the "?force_units=1".
BTW, Titan -- there's a typo on your About... screen: "cortusey" should be "courtesy".
Nice program. Wish I were that proficient with AH scripts.
Lee Kaiwen,
Taiwan
#10
-
Posted 15 September 2005 - 12:42 PM
Thanks Kaiwen, I fixed the typo and the location bug - you can redownload using the link in my first post. Anymore bugs, let me know
Updated, I finally fixed the add location bug (properly) - thanks to garry for telling me.
Updated, I finally fixed the add location bug (properly) - thanks to garry for telling me.
#11
-
Posted 15 September 2005 - 04:04 PM
autohotkey.com/net Site Manager
Contact me by email (polyethene at autohotkey.net) or message tidbit
Well, you asked for it... Probably wouldn't have found this if it wasn't for the fact that I live in Norway:Anymore bugs, let me know
line 161 is:
Menu, Tray, Icon, \SnowCloud.icoshould be:
Menu, Tray, Icon, SnowCloud.ico(note the backlash)
Great script, btw!
#12
-
Posted 08 January 2006 - 10:45 AM
Thanks Titan for this nice proggy, great work
...maybe you can take the "bigger" weather status pictures (.GIF-files)
from weather.yahoo.com (directly under the "5 Day Forecast")
for the GUI... the scaled icons are so ugly :wink:
...maybe you can take the "bigger" weather status pictures (.GIF-files)
from weather.yahoo.com (directly under the "5 Day Forecast")
for the GUI... the scaled icons are so ugly :wink:
#14
-
Posted 15 January 2006 - 10:53 PM
greets Grendel
I had that in mind in the first place but it would mean that the tray image would be different (because you cannot use a gif for the tray icon). I thought that keeping the images uniformed would mean easier usability. If you have any better icons I could replace the existing ones, I'll check for some aswell.
Edit: just updated the icons. The filesize has now increased by some 140kb. There are also some extra nice icons I left in the zip which you can use (by modding the script).
Edit: just updated the icons. The filesize has now increased by some 140kb. There are also some extra nice icons I left in the zip which you can use (by modding the script).
#15
-
Posted 16 January 2006 - 12:58 AM