Snow leopard uses SkyHook to determine where your computer is. I forgot I set my Time Zone to automatically update, it's pretty cool to not have to worry about it.
Sample Code:
http://cocoawithlove.com/2009/09/whereis...ation.html
Rather than entering a zip code (and by default) you could set any of the 3 weather locations to "Where ever the heck my Mac is".
Great for those road warriors that travel a lot and often don't even know their zipcode. Plop down in a hotel room, fire up XBMC for some movies before the big meeting and check the weather.
-------
Scratch that. Looks like CoreLocation doesn't work in the command line. However. PreyProject has some nifty bash scripts for Linux, Windows and Mac that uses google geolocation tool.
http://github.com/tomas/prey-modules/tree/master/geo
[Mac] Core Services Location for Weather
darkscout
Posting Freak Joined: Jul 2008 Reputation: 12 |
2010-06-12 06:58
Post: #1
(This post was last modified: 2010-06-12 08:03 by darkscout.)
|
| find quote |
GJones
Fan Posts: 438 Joined: Nov 2009 Reputation: 0 |
2010-06-14 17:07
Post: #2
And sometimes you are between two weather stations, one of which is more distant but more indicative of the weather at your location. The one-time setup of a weather station seems fairly low-priority to me.
|
| find quote |

Search
Help