Trixology

WeatherCat => WeatherCat Integration => Topic started by: elagache on February 11, 2012, 07:16:42 PM

Title: One more "test flight" of AppleScript before they go public?
Post by: elagache on February 11, 2012, 07:16:42 PM
Dear WeatherCat private beta testers,

Okay, I've gone through my AppleScripts one more time and made them as effective as they can in their "half-breed" mode.  Right now they can sill run under either LWC or WeatherCat.  My assumption is that this will be their last incarnation in this form.  Hopefully, there will be no pleas to support them on LWC anymore.  I've collected what is running on my computer right now and compressed them so that you all could make one more "test flight" before they would be inflicted on an unsuspecting public.  You can download this temporary file here:


EDIT: URL removed in preparation for public release.


I'll remove this link before the public beta of WeatherCat and provide instead links to properly documented versions then.  It might be a good idea for Stu to delete or at least hide this thread as well.

Here are the temporary release notes also included in the package:


Please let me know what surprises you come up with - hopefully nothing serious.

Cheers, Edouard  [cheers1]
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: Steve on February 13, 2012, 01:38:28 AM
  • In fixing the free memory unit error in LWC Status Growler, it was necessary to create a new pseudo web tag: FreeMemoryUnits$.  It will take the value of GigaBytes, MegaBytes, or in the case of your system suffering from extreme memory starvation: Kilobytes.  An updated version of the HTML template for a web-based station console: Station_console.html is included utilizing that new tag.

Please let me know what surprises you come up with - hopefully nothing serious.

Cheers, Edouard  [cheers1]

Thanks Edouard,

All of the included files predated what I already had except the station console. As you know, I took the guts of the station console file and incorporated them into my station status web page. I just added your new FreeMemoryUnits$ tag instead of the "GB" text I was using. It doesn't populate, though. I searched through the Growler script and didn't find where the tag was defined. Did I miss it, or is the 1.2 b2 Growler not actually the latest?

Thanks,
Steve
Title: Version numbers aren't right (Re: One more "test flight" )
Post by: elagache on February 13, 2012, 03:17:35 AM
Hi Steve and WeatherCat AppleScript fans,

All of the included files predated what I already had except the station console. As you know, I took the guts of the station console file and incorporated them into my station status web page. I just added your new FreeMemoryUnits$ tag instead of the "GB" text I was using. It doesn't populate, though. I searched through the Growler script and didn't find where the tag was defined. Did I miss it, or is the 1.2 b2 Growler not actually the latest?

Sorry, I guess I should have warned you'all.  The version numbers you've got are the "will become" version numbers.  I haven't been updating these since these versions aren't public.  Otherwise I would go crazy updating them.

I think the dates are wrong too.  I don't understand why but the AppleScript editor doesn't change the date of the entire bundle unless you do a "Save-As."  I suppose because it takes the date of the oldest file in the "bundle" (which is actually a folder in disquise) as the date of the folder.

So it is the opposite of appearances.  I believe every file has been changed at least a bit.  The version of LWC Status Growler included in the distribution has the code for the FreeMemoryUnits$ tag.  So you do need to use the updated script to see any changes.

Most of the differences are subtle.  Most of the time the only difference will be a replacement of WeatherCat for LWC.  I'm mostly concerned to find if something doesn't have proper punctuation or spacing.  Even if doesn't appear to be much . . . . if you go through my AppleScripts, you'll see that the word LWC occurs in the files an awful lot!!!


So if you could go ahead and use the new versions I would appreciate it!  [tup]

Cheers, Edouard  [cheers1]
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: Steve on February 13, 2012, 03:24:03 AM
Okey doke. I was looking at the dates, so discarded most of them. I'll go through them tomorrow. Twitter is always fun because of the extra tags that I've added. I always seem to miss one.

Thanks,
Steve
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: Steve on February 13, 2012, 01:27:44 PM
OK Edouard, I've got all the scripts updated and working fine. No surprises whatsoever. I am running Storm Monitor now, too, to make sure there's no problem with it. Everything is A-OK!

Steve
Title: Yup gotta do something to save configurations (Re: "test flight" of AppleScript)
Post by: elagache on February 13, 2012, 04:58:57 PM
Hi Steve and WeatherCat AppleScript fans,

Okey doke. I was looking at the dates, so discarded most of them. I'll go through them tomorrow. Twitter is always fun because of the extra tags that I've added. I always seem to miss one.

Yup, *heavy sigh* the AppleScripts have most definitely outgrown the way they are configured.  It is a real hassle for me to "de-localize" my versions so that I can share them with everybody.  Then everyone has to "re-localize" them to put them back to work.

I've already decided to move the configuration settings into a separate file so that this problem won't be nearly as painful.  My first pass scheme is to use the ability of AppleScript to load the content of another AppleScript file.  So I would simply splice out the configuration information, put it in a separate file that you'all would edit with your location conditions, and then the applications would load the new settings when they start up.

Eventually, I hope to learn Xcode and actually slap on a real Mac user-interface on these AppleScripts . . . . However, at my current rate of progress . . . .  ::)

Oh well, hope is supposed to spring eternal right?  [bounce]

Cheers, Edouard  [cheers1]
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: Steve on February 13, 2012, 06:14:44 PM
Thanks Edouard,

Before you release a configurator, please add these bits to the Twitter uploader. We talked about these earlier, but they got lost somewhere.

Under "set temporary variables:
set windChillf to 0

Under Tell application LWC2
set windChillf to WindChill

Under Round all values to 2-digits
tell LWChelperTools to set windChillf to roundThis(windChillf, 2)

Thanks,
Steve
Title: Sorry, just added it (Re: One more "test flight")
Post by: elagache on February 13, 2012, 06:42:01 PM
Hi Steve and WeatherCat "Twittering types,"

Before you release a configurator, please add these bits to the Twitter uploader. We talked about these earlier, but they got lost somewhere.

Sorry, I thought I had included these.  I wonder if I did and then "lost it."  Oh well, I added it to the version that is running on my computer.  There it should stick!

Cheers, Edouard  [cheers1]
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: Steve on February 14, 2012, 02:27:22 AM
Thanks!
Title: Test fights "grounded" before public release (Re: "test flight")
Post by: elagache on February 14, 2012, 11:05:09 PM
Howdy WeatherCat AppleScript fans,

I've been busily touching up documentation, de-localizing AppleScripts, and making packages of my AppleScripts in preparation for the public debut of da' Cat.   [cat]  So the time has come to freeze the code (bugs and all (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/angry_spider.gif)).  I removed the link to these temporary versions and removed the package file from my hosting provider.  So if somebody finds yet another bug . . . . congratulations!  You can keep it!  [lol]  Unless it is a threat to stability of the universe  :o , I'll stick with what I've got. (http://www.canebas.org/Weather/LWC_forum/Custom_emoticons/big_grin.gif)

Cheers, Edouard  [cheers1]
Title: Re: One more "test flight" of AppleScript before they go public?
Post by: WCDev on February 15, 2012, 05:07:39 PM
Good idea Edouard. Provisionally aiming for this weekend.

Cheers,
Stu.