Degrees is a weather AppleScript intended as a replacement for "Current Temperature", by xpander, which has been broken (through no fault of his) for a while now.
I cobbled this together because I was tired of not being able to display my hometown's lovely fall weather.
There are two scripts in this package, one for Fahrenheit and one for Celsius. To enter your location, just replace
location with the five digit
zip code or
City, State. International locations are also supported. Just enter
City, Country. Also, by including a percent sign (%) after the location, the script will give you temperatures to the nearest hundredth of a degree.
- New data source! I've switched from using Weather Underground to using OpenWeatherMap. Using the API is quicker and the weather is even more precise.
- Weather now calculated to the nearest hundredth of a degree if you include the % after your zip code or city
- Changed script to work with a slight change to the data source.
- Added an icon (and I use the term loosely).
- Now culls weather data from a slightly different source.
- More elegant and symmetric code between fahrenheit and celsius scripts.
- Fully "internationalized" the Fahrenheit script as well. Now only returns the number. Append whatever you like. You can now exclaim, for instance, that it's "54 degrizzles outside" if you so desire.
- Works again!
- Fixed a mistake that neglected to properly handle the decimal tag. This should (hopefully) solve the rounding problem that has been reported (Thanks, newkai).
- Removed some unnecessary code from the %_celsius applescript.
- Fixed a mistake that caused both scripts to return the temperature in centigrade.
- Fixed a mistake that made the Fahrenheit script always display a precise temp.
- Now supports Celsius as well as Fahrenheit.
- Now supports not only zip codes, but
City, State and
- Can optionally display temperature to the nearest tenth of a degree for those of you who are sticklers for accuracy.
- Initial release.
- Known Issues in 1.0:
- Only reports the temperature in Fahrenheit degrees. I know this one is easily fixed, but I wanted to get this off as soon as I could to the Adium community.
- Only handles US locations. Because the script works from zip codes, only areas who have US postal codes can be fetched.
You can reply to individual comments by clicking the "Reply" link next to each.
Post a New Comment
You must be logged in to post comments.
Written by cowgomoo.