| View previous topic :: View next topic |
| Author |
Message |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Sat Sep 10, 2005 5:04 pm Post subject: Weather |
|
|
Note: this script has been discontinued
Gets worldwide weather information from Yahoo! Weather.
Download
Last edited by Titan on Mon Apr 21, 2008 7:50 pm; edited 9 times in total |
|
| Back to top |
|
 |
Atomhrt
Joined: 02 Sep 2004 Posts: 128 Location: Sunnyvale
|
Posted: Sat Sep 10, 2005 8:08 pm Post subject: |
|
|
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...  _________________ I am he of whom he speaks! |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Sat Sep 10, 2005 8:30 pm Post subject: |
|
|
Thanks, I just fixed the two bugs and updated the download link  |
|
| Back to top |
|
 |
Atomhrt
Joined: 02 Sep 2004 Posts: 128 Location: Sunnyvale
|
Posted: Sat Sep 10, 2005 8:43 pm Post subject: |
|
|
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 am he of whom he speaks! |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Sat Sep 10, 2005 8:49 pm Post subject: |
|
|
Quite funny, we have bad weather here right now  |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2397
|
|
| Back to top |
|
 |
Atomhrt
Joined: 02 Sep 2004 Posts: 128 Location: Sunnyvale
|
Posted: Sat Sep 10, 2005 8:54 pm Post subject: |
|
|
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... _________________ I am he of whom he speaks! |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2397
|
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Sat Sep 10, 2005 9:05 pm Post subject: |
|
|
I just fixed that bug, download link updated sorry.
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. |
|
| Back to top |
|
 |
Kaiwen
Joined: 23 Aug 2005 Posts: 18
|
Posted: Thu Sep 15, 2005 1:42 pm Post subject: |
|
|
| corrupt wrote: | | 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 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Thu Sep 15, 2005 5:04 pm Post subject: |
|
|
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. _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
TucknDar
Joined: 07 Jan 2006 Posts: 47 Location: Oslo, Norway
|
Posted: Sun Jan 08, 2006 11:45 am Post subject: |
|
|
| Titan wrote: | Anymore bugs, let me know  |
Well, you asked for it... Probably wouldn't have found this if it wasn't for the fact that I live in Norway:
line 161 is: | Code: | | Menu, Tray, Icon, \SnowCloud.ico |
should be: | Code: | | Menu, Tray, Icon, SnowCloud.ico |
(note the backlash)
Great script, btw! |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Sun Jan 08, 2006 4:06 pm Post subject: |
|
|
| Thanks, bug removed. |
|
| Back to top |
|
 |
Grendel
Joined: 18 Nov 2005 Posts: 25 Location: Germany
|
Posted: Sun Jan 15, 2006 11:53 pm Post subject: |
|
|
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  _________________ greets Grendel |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5067 Location: imaginationland
|
Posted: Mon Jan 16, 2006 1:58 am Post subject: |
|
|
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). |
|
| Back to top |
|
 |
|