Re: Weather / Temperature Apple Script

2011-09-13 Thread Keith Watson
Nice. Glad to hear that you got a work around going. I am playing with removing the say part of that string and setting all that up as variables in the Apple Script itself. Seems to run a little faster. Keith On Sep 12, 2011, at 5:00 PM, Chris Blouch wrote: Just tried is on Snow Leopard and

Re: Weather / Temperature Apple Script

2011-09-12 Thread Teresa Cochran
Rate argument works fine in Lion. I've adjusted it to various values and it's great. Teresa On Sep 11, 2011, at 2:43 PM, Keith Watson wrote: Ester, I did not know that the rate switch was not available in earlier versions of OSX. I actually found it by…wait for it…RTFMing. Grin. Doing a

Re: Weather / Temperature Apple Script

2011-09-12 Thread Chris Blouch
Just tried is on Snow Leopard and got an error on the -r argument so it must be new to Lion. For non-lion users I managed to prepending the rate command to the text using sed which worked fine: curl -s http://www.wunderground.com/cgi-bin/findweather/getForecast?query=33617 | grep -A 2

Re: Weather / Temperature Apple Script

2011-09-12 Thread Esther
Hi Chris and Keith, Chris, that was a clever use of sed and regular expressions to prepend the rate argument to the beginning of the text being piped to the say command. Keith, if you want to play around more with the other embedded commands for speech, you'll find them in the Apple Developer

Re: Weather / Temperature Apple Script

2011-09-11 Thread Teresa Cochran
Thanks, Keith. That's pretty slick. I don't mind having MacPorts, either, as there are some things I wouldn't mind playing with in there, including the Lynx browser. teresa -- You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this

Re: Weather / Temperature Apple Script

2011-09-11 Thread Ricardo Walker
Hi, You know what, For me, when I press F12, the focus automatically falls on the temperature and current weather condition in dash board. Isn't that what people are pretty much looking for? Press 1 key and get your current weather? Ricardo Walker rwalker...@gmail.com Twitter Skype:

Re: Weather / Temperature Apple Script

2011-09-11 Thread Yuma Decaux
Hey Keith, Thanks for the tip on the lynx app, it made me explore every command in the usr/bin and gave me a few more shell script ideas. Like the fact that it can also be mapped to anything, key, gesture, voice, whatever :) Best regards, Yuma On 11/09/2011, at 6:36 PM, Ricardo Walker

Re: Weather / Temperature Apple Script

2011-09-11 Thread Keith Watson
Johnathan, Tried curl. Unfortunately the dump is not plain text as in lynx. It more resembles xml than anything else. I am not far enough into learning Apple Script to be able to handle parsing text strings yet, so chose this method. Attempted to use python to do it, but it wanted to open a

Re: Weather / Temperature Apple Script

2011-09-11 Thread Donna Goodin
That was my question, too, Ricardo. Then if you VO to the right and interact, you get a 6-day forecast. What more do people want? Cheers, Donna On Sep 11, 2011, at 2:36 AM, Ricardo Walker wrote: Hi, You know what, For me, when I press F12, the focus automatically falls on the

Re: Weather / Temperature Apple Script

2011-09-11 Thread Keith Watson
Nope, the intent was to only have the temperature read to you. Not the entire forecast. And I sort of like to have Tessa tell me what the temp is. Being from South Africa on my mothers side it brings back fond memories. Keith On Sep 11, 2011, at 2:36 AM, Ricardo Walker wrote: Hi, You

Re: Weather / Temperature Apple Script

2011-09-11 Thread Scott Howell
What amazes me is that some missed the point of the script. Ricardo points out that hitting f12 drops him on the weather widget and that is just great; however, not everyone has that particular item there at all times. iN fact I tend to keep the calendar widget as the one with focus. The other

Re: Weather / Temperature Apple Script

2011-09-11 Thread Donna Goodin
True, it is a learning opportunity. though to me it seems like a lot of work just to duplicate something that already exists on the Mac. Just my $.02. Cheers, donna On Sep 11, 2011, at 8:09 AM, Scott Howell wrote: What amazes me is that some missed the point of the script. Ricardo points

Re: Weather / Temperature Apple Script

2011-09-11 Thread Scott Howell
Donna, you are making the assumption that someone would always have that widget always in focus. This may be a lot of work for you, but the ends justifies the means. Your entitled to your opinion of course; however, aside from the learning opportunity, you still are assuming that this widget is

Re: Weather / Temperature Apple Script

2011-09-11 Thread Keith Watson
All, Like Scott said, this was an exercise in learning Apple Script and to facilitate the request of another list member. They did not want all the information that the weather widget gave. All they wanted was the outside temperature. If the weather widget works for you then by all means

Re: Weather / Temperature Apple Script

2011-09-11 Thread Teresa Cochran
Then there's always playing with scripts when you have a bit of time on your hands. That's basically what I was doing. I wanted to get the mac ports anyhow. Teresa On Sep 11, 2011, at 4:31 AM, Donna Goodin wrote: That was my question, too, Ricardo. Then if you VO to the right and interact,

Re: Weather / Temperature Apple Script

2011-09-11 Thread Esther
Hi Keith, I'll just add that if you want the say command in your AppleScript to announce the temperature in another voice, you can also set that as an argument and use any of your installed system voices (including the InfoVox voices if you have them). For example, if you're a French user in

Re: Weather / Temperature Apple Script

2011-09-11 Thread Traci
, September 11, 2011 4:33 AM Subject: Re: Weather / Temperature Apple Script Nope, the intent was to only have the temperature read to you. Not the entire forecast. And I sort of like to have Tessa tell me what the temp is. Being from South Africa on my mothers side it brings back fond memories

Re: Weather / Temperature Apple Script

2011-09-11 Thread Yuma Decaux
It's just different schools of thought. Some mac users don't want to learn the terminal nor scripting as it is quite a complicated albeit powerful tool, while those who do have a comprehensive set of skills in unix and have delved into appplescript can actually find their ways into making their

Re: Weather / Temperature Apple Script

2011-09-11 Thread Dan Roy
Works just fine here, thanks to the person who posted the whole thing on Dashboard, I used to hate it, now that it's configured differently, I like it vary much. On Sep 11, 2011, at 1:40 AM, Yuma Decaux wrote: Hey Keith, Thanks for the tip on the lynx app, it made me explore every command

Re: Weather / Temperature Apple Script

2011-09-11 Thread Keith Watson
Ester, I did not know that the rate switch was not available in earlier versions of OSX. I actually found it by…wait for it…RTFMing. Grin. Doing a man on say gave me all that info. The value for the rate is in words per minute according to the man page. Quite frankly I think they are full of

Re: Weather / Temperature Apple Script

2011-09-11 Thread Keith Watson
, September 11, 2011 4:33 AM Subject: Re: Weather / Temperature Apple Script Nope, the intent was to only have the temperature read to you. Not the entire forecast. And I sort of like to have Tessa tell me what the temp is. Being from South Africa on my mothers side it brings back fond

Weather / Temperature Apple Script

2011-09-10 Thread Keith Watson
Hi All, Disclaimer Those of you who choose to follow these steps do so at their own risk. I take no responsibility for any problems or issues you may encounter. These steps are straight forward but not for the faint of heart. Ok, so now that I got that out of the way lets begin.

Re: Weather / Temperature Apple Script

2011-09-10 Thread Traci
Wow, I'm impressed. I might get brave and try this. :) Thanks, Traci - Original Message - From: Keith Watson To: macvisionaries@googlegroups.com Sent: Saturday, September 10, 2011 7:43 AM Subject: Weather / Temperature Apple Script Hi All, Disclaimer

Re: Weather / Temperature Apple Script

2011-09-10 Thread Jon Cohn
I don't believe you need to actually use lynx for this... And if you don't need lynx then you don't need the developer tools and a UNIX port program (macport and/or fink). The Macintosh has built-in for the command line the curl command that can take a ftp and/or an http request and download