I'm overly proud of myself but I did manage to coax applescript to spit out the values I'm looking for. The last "programming" I did was for a beginning FORTRAN class using punchcards in 1978! Let's just say my attempt is a bit a random walk. Mostly I searched for snippets of code that I could copy and adapt and then I would spend and hour or two trying trying different things until the syntax was accepted.
Basically I feed the script the number of days in the past I want to search over. Then I query WC data using the tag STAT$TEMPERATURE:MAX:DAYSAGO(x)$ to build a List with all the Maximum temperatures. (Thanks to Edourard who taught me you can query WC using applescript in the Applescript Editor). Finally I call a subroutine? (not sure what they are called in applescript) that searches that List of daily maximum temps to find the *Lowest* one.
Finding the warmest night over a period I just have to alter the script to find the Maximum of a List of Minimum Daily Temps.
So I can do this in the script editor but I kind of lost sight of my overall goal of updating a web page with that value. I'll have to think if there is a way to employ a version of this script in a synthetic channel somehow so I can then use a STAT$SYN1 type tag to easily push the value to a web page.
A better way as some of you have pointed out would be put the whole of the data into a database and then query that - but learning how to do all of that probably (likely. It does.) exceed my motivation level to just report these values. Just a few days ago it was a huge step for me just to use the atkins template
![Big Grin [biggrin]](https://athena.trixology.com/Smileys/default/biggrin.gif)
.
I think I'll take a step back and play with kids my own age. I should fool around with really simple html and focus on putting up basic web page. After that I can perhaps consider taking on some of these more complicated tasks.
Thanks to all who have helped with ideas. I've learned a ton in just a few days. I'll probably let this specific challenge rattle around and see if a simple solution pops into existence that I can implement using my currently meager skills.
-carl