Dear Alan and WeatherCat scripters,
I am trying to make a status page, but I have absolutely no experience of Applescript. I have downloaded the WC Scripts and read the documentation, but I am totally baffled.
Can anyone give me step-by-step, idiot proof instructions on how to get this working? This is what I have got so far - click here.
Unfortunately, the best instructions you'll find are those documentation files that you'll find with the AppleScripts. Alas, the scripts are
"hobbyist grade" and have absolutely zero graphical user interface. Most of them were written for my own needs and many were quickly written in a
"dark time" before WeatherCat.
To make a status page, you need to get two AppleScripts working:
WC Status Growler and
WC Web Data Uploader. The
WC Status Growler AppleScript does the work of checking on WeatherCat and OS X and collecting values like how much memory WeatherCat is using. These values are then made available to the
WC Web Data Uploader AppleScript.
WC Web Data Uploader basically replicates the substitution process that WeatherCat does in templates for my AppleScript. Because
WC Web Data Uploader substitutes values for web tags and needs to do this before WeatherCat does any processing, there is a very specific arrangement of directories required. All this needs to be done "by hand" or the system will not work.
In addition, since there is no user-interface, the preference files are actually tiny AppleScript programs. So you need to get a basic familiarity of the Script Editor in order to configure any AppleScript. The whole system of AppleScripts also has been "hard-coded" into a particular directory structure. If you don't put all the AppleScripts in subdirectory of your user
Applications folder, the AppleScripts won't work. These locations have to be fixed because that's how the AppleScripts find the preference files and libraries of shared routines. To make these AppleScripts work, you really need to keep everything as I have it on my computer.
As I've said this won't be easy to do and you'll have to struggle through with my lengthy detailed instructions to make all of this work. If you really want to take this project on, I suggest that you start with one of the very easy AppleScripts to work on like
WC Temperature Rising or
WC Zambretti Forecaster.
You will probably need to install Growl because virtually all the AppleScripts depend on it and it is the closest these AppleScripts have to display system:
http://growl.info/Lurking beyond all the other problems might be an issue with the Apple gatekeeper. If it appears that you cannot run the AppleScripts at all, let me know. You may have to "take ownership" of the code so that Apple doesn't think you are trying to run "hostile" AppleScripts on your Mac.
Sorry, as X-Air points out, I've been really overwhelmed by other things. I have hoped to completely rewrite these AppleScripts as WeatherCat plugins, but I haven't had time to learn X-Code so that project remains for the not very near future.
Let me know if I can be of further assistance.
Cheers, Edouard