Hi Jay and WeatherCat AppleScript explorers,
Yes, my directory does include the final folder and the 10 "scpt" files.
/Users/jay/Applications/WeatherCat Scripts/WeatherCat Script Library/WeatherCat Script Prefs
My apologies but the the code that is giving the error is as simple as can be:
set appHomeFolder to getContainingFolder()
-- Load user preferences from external preference file.
set prefPath to appHomeFolder & "WeatherCat Script Library:WeatherCat Script Prefs:WC Status Growler prefs.scpt"
set myPrefs to load script file prefPath
tell myPrefs to setPreferenceValues()The first line gets the path to the application (in this case
WC Status Growler) as a string. The next line appends the rest of the path to the preference file. The third line has AppleScript load the contents of the preference file which is the procedure:
setPreferenceValues. If AppleScript doesn't understand
setPreferenceValues, it is because the preference file didn't get loaded. The only way that could happen is if somehow there is a problem accessing the file. Have you tried opening
WC Status Growler prefs.scpt with the AppleScript editor to make sure it is accessible and not corrupted somehow? Could there be a permissions issue here?
If nothing else works, try deleting the collection of AppleScripts and start over. This really should work.
Sorry, that's all my thinking leads to.
Cheers, Edouard
![Cheers [cheers1]](https://athena.trixology.com/Smileys/default/food-smiley-004.gif)