what exactly is Lynx? I see it is a text only browser, but why not Safari/Firefox etc?
and can you get weather for other countries (eg Australia?)
and can you get weather for other countries (eg Australia?)
I'm having some trouble getting the weather scripts to work. I'm running OSx 10.4.11, but I'm pretty sure I've properly installed lynx version 2.86 (run the install.command and moved lynx.command to my Applications).
When I post the weather scripts in Geektool, nothing happens. Is there something else I need/could be doing?
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=bournemouth|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'
You need to rename lynx.command to lynx and move it into /usr/sbinI'm having some trouble getting the weather scripts to work. I'm running OSx 10.4.11, but I'm pretty sure I've properly installed lynx version 2.86 (run the install.command and moved lynx.command to my Applications).
When I post the weather scripts in Geektool, nothing happens. Is there something else I need/could be doing?
@si77hay - When I paste that line into Terminal - nothing happens. All I get is another command prompt.
7?C Si-Mac-mini:~ Simon$
I cannot get anything on Geektool to work.
I'm going to describe everything I do so someone can help me out.
I first open it up and click new entry, then I go to the shell tab and put in all the codes for the 1st script listed, then I change the font to what it should be.
When Geektool is open it just shows the box of where it should be, and when I close it out nothing is there.
What am I doing wrong?
I'm currently looking for a new way to post the weather. if uweather puts out a special alert you get a "willoverspred" error.
for something like the weather you can set it even higher. it doesn't change too often. unless you are going through a hurricane or something.
|awk '{print $1}'
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=40241|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }' |awk '{print $1}'
@sumskateborder
Are you able to do anything basic in Geektool like show the day:
Code:date +%A
View attachment 152993
I noticed a weird line and then realized I was getting extra text in addition to the temperature... a snow advisory alert. I didn't get an error but there was extra text and that was going to mess up alignment and what not. I addedto the end of the temperature line and that seemed to have ripped out just the temperature. Here's the full line:Code:|awk '{print $1}'
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=40241|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }' |awk '{print $1}'
Will someone explain to me step by step how to set up the iTunes Script in the 1st post?
Thanks.
osascript ~/LocationOfScript.scpt
Im having trouble with the temperature, but im assuming its for the us only? Or will canada work aswell.
I noticed a weird line and then realized I was getting extra text in addition to the temperature... a snow advisory alert. I didn't get an error but there was extra text and that was going to mess up alignment and what not. I addedto the end of the temperature line and that seemed to have ripped out just the temperature. Here's the full line:Code:|awk '{print $1}'
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=40241|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }' |awk '{print $1}'
I noticed a weird line and then realized I was getting extra text in addition to the temperature... a snow advisory alert. I didn't get an error but there was extra text and that was going to mess up alignment and what not. I addedto the end of the temperature line and that seemed to have ripped out just the temperature. Here's the full line:Code:|awk '{print $1}'
Code:lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=40241|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }' |awk '{print $1}'
I really like this program.![]()