I have a number of various RAIDs that I have attached to my computer, each one having a folder called z_AECache that is used for the cache for whenever said RAID happens to be plugged in. But every time I change disks, AE resets the cache location to the default since it can't find the previous one. Having a permanent dedicated drive is not an option, nor is naming all my RAIDs the same in order for AE to recognize it. What I'd like to do is to write a simple start up script that iterates through the various possible cache locations in order of preference (/volumes/RAID_A/z_AECache, /volumes/RAID_B/z_AECache, etc.) and when it finds one, set the cache to that location, else set it to a default location on my local disk.
I've dug through the scripting documentation and there doesn't seem to be a cache location attribute or any methods dealing with the cache other than to purge it. Is there some other way I'm missing that's just not listed in the AE documentation because it isn't dealing with classes specific to AE? Maybe some other startup thing that runs a python script in a terminal in the background. Many thanks,
Robert