WeatherCat > WeatherCat Integration

One more "test flight" of AppleScript before they go public?

(1/3) > >>

elagache:
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:


* These AppleScripts were developed for LWC and have been adapted rather hastily to run with WeatherCat.  In order to work with WeatherCat, a copy of LWC must be installed!  The LWC application won't be run, but it is used to provide the AppleScript dictionary for both LWC and WeatherCat.  Obviously this is a temporary measure.
* The scripts will adjust to display the correct weather software name.  However, they retain their names which prominently include the nickname: LWC.  It was impossible to correct this on such short notice because it is hard coded into many of the files used.
* To choose which Weather Software the AppleScript will work with the file: Weather Software Identification.scpt  must contain the identifying information for the program you wish to use: LWC or WeatherCat.  To use WeatherCat, rename the file: WeatherCat Software Identification.scpt to Weather Software Identification.scpt .  To continue to use these AppleScripts with LWC rename LWC Software Identification.scpt to Weather Software Identification.scpt
* The latest version of these AppleScripts incorporate data in the resource bundle of the AppleScript application.   In order for this to work correctly on OS-10.5 (Leopard) a different option must be selected when saving the application than is shown in the documentation.  Use the Application Bundle option as shown in the attached screenshot.
* As can happen with the LWC Twitter Uploader script, you may need to reinstall the Twitter AppleScript libraries to make the script function again.  You can copy those libraries from your running copy of LWC Twitter Uploader or use the libraries included here.
* The scripts have been provided with most of the default options turned off.  Including options like probing the Internet, using LWC Status Growler to indicate if the Internet is up and exporting values to the web.  If you are using these options make sure to restore your preferences.
* 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]

Steve:

--- Quote from: elagache on February 11, 2012, 07:16:42 PM ---
* 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]

--- End quote ---

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

elagache:
Hi Steve and WeatherCat AppleScript fans,


--- Quote from: Steve on February 13, 2012, 01:38:28 AM ---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?

--- End quote ---

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]

Steve:
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

Steve:
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

Navigation

[0] Message Index

[#] Next page

Go to full version