Pages

Tuesday, April 16, 2013

geeklet xcode

Hi,

 

I have two geeklet for weather.

 

One to display a pic for the weather and another one to tell the pic what the actual weather is.

 

Is there any way a geeklet could be incorporate geeklets into a xcode cocoa applescript  or objective c application?

 

 

This is the geeklet that controls the picture geeklet.

curl --silent "http://weather.yahoo.com/united-states/new-york/new-york-city-2459115/" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\

 

Don't know how to get the picture geeklet onto this discussion but it basicly displays sun or rain or snow.

 

How you can help!!

 

Thanks!!


View the original article here

0 comments:

Post a Comment