Howdy Stu and WeatherCat fans,
I can confirm we will see that in the future; it's tied into the WeatherCat SDK a little bit, which isn't available yet but will be in the near future - it's my next big job after 1.00 ships so we may well see this in a 1.x version.
Bummer dude! I wanted to play with the LWC SDK but never got around to it. I hadn't noticed that the SDK was broken in
da' Cat. Perhaps hopelessly naive on my part, but I still hope to write some plug-ins for WeatherCat. The uploading to UK Met Office, PWS Weather and WeatherBug looked like good candidates for "experiments" in
learnin' myself the SDK. Oh well, I had hoped for a long winter of gentle soaking rains so I would have plenty of time to explore this sort of stuff. With spring already evident around here . . . . time to play with the SDK won't be showing up anytime soon!
The only slightly gotcha there may be is that there can be a delay between sending a query and getting a reply as these queries are processed on a separate thread whereas all AppleScript accesses come in on the main thread (I do wish they'd get rid of that restriction - maybe they have - last time I checked was 10.5 ish) - maybe a couple of milliseconds unless data needs to come in off disk where it can run to a few seconds.
Uh Stu, have you looked recently at how
slow AppleScript actually is!?!
If the only issue was being too slow for AppleScript -
no problem!! Now it could be a problem for the SDK, that can run along at Objective-C so it has a right to demand speedy service!!
Basically a query is exactly the same as the STAT$ tag operands (i.e. data type, query type and date range) - those operands go directly into the fields in a query. The only difficulty you may face is creating time ranges - the query needs a start date and an end date - this is very flexible as you can do stats across any time range, but a bit of a pain, so I'll probably lay on top higher level date ranges as per the STAT$ tag (TODAY, YESTERDAY and so forth).
Sounds good to me!
Hope this answers your question,
Well golly, that's such a complete answer maybe I should lay on ya' that other question . . . . ya' know - about the meaning of life!! Does that fall under:
grin and bear it! Cheers, Edouard