Programatically setting preferences - cache locations etc.

Hi all,
I've had a little look around but can't seem to find the answer to this question. I'd like to have a way of defining, at a machine level, the location for After Effects (and for that matter, Premiere and other Adobe apps') cache directories.
We have NFS mounted home directories with soft and hard quotas and every time the AE prefs get munged, users must remember to change these preferences or risk hitting their quota limit, which causes all manner of problems.
Since the introduction of CS5.5, disk cache is enabled by default, which is obviously a good thing for performance, but ideally, we'd be able to alert the user to the status of the cache directories at every launch of the application and provide an easy way to set the location to a local disk, pre-populating say /Users/Shared/Adobe/Caches or similar.
In the preferences file for AE CS6 (Adobe After Effects 11.0-x64 Prefs) there seems to be one path under the key ["Disk Cache Controls"] "Folder 6" but in the application iteself, there are other values, presumably for the Dynamic Link features of all the apps, which tend to point to a directory under ~/Library/Preferences/Adobe/Common (though quite why potentially massive media files are stored under users' preferences folders is beyond me.)
Any help or pointers would be greatly appreciated.
Thanks.

Double posting

Similar Messages

  • Can't change the cache location

    I use a RAMDisk for the disk cache. Prior to upgrading to Firefox 11, I used to be able to set
    browser.cache.disk.parent_directory=R:\
    to set this. Now the cache is no longer located on R:\ although this setting is still there. Where has it gone and why?

    Does it help if you use a specific directory like R:\temp on that drive instead of setting the root directory as the location of the cache?
    Be sure to create the specified directory.
    Are you setting the cache location via the about:config page?

  • Set cache location on startup?

    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

    I think you can use it as base.
    var cacheFolder = app.preferences.getPrefAsString("Disk Cache Controls", "Folder 7"); // get your current cache folder
    if(!cacheFolder.exists){
    var foldersArr = [];    // here  goes your possible folders
    for (i=0; i<=foldersArr.length; i++){
            cacheFolder = new Folder(foldersArr[i]);
        if(cacheFolder.exists){
            break;
    app.settings.saveSettings("Disk Cache Controls", "Folder 7", cacheFolder.toString());

  • 1.5 How to globally set the System Cache location

    FROM ANOTHER USER ON ANOTHER BOARD:
    This one did not get answered completely.
    ************************* Question:
    Hello,
    I want to deploy JWS on a client PC with Microsoft XP OS. This client have multiple users. JWS put a file deployment.properties in the directory "documents and setting" for the current user.
    How can I create a uniquely file deployment.properties for all users of this client (new and existing profiles) ?
    Create a directory "documents and setting/all users/application data/sun/java/deployment/" with the file deployment.properties don't work.
    Create a directory "documents and setting/default user/application data/sun/java/deployment/" with the file deployment.properties is working but is not good for the existing users. This is good uniquely for new users.
    is there a solution ?
    King regards,
    funchung
    ************************* ANSWER:
    For windows, the system config file is at:
    {Windows Directory}\Sun\Java\Deployment\
    The value of the {Windows Directory} is determined by using the Win32 API GetWindowsDirectory.
    So for example, on XP, the system config file is:
    c:\WINDOWS\Sun\Java\Deployment\deployment.properties
    The settings in this system config file will be used by all users on the system.
    ***************************** HIS REPLY
    I've tried this and it doesn't seem to work.
    I've also tried createing a deployment.config file as per the http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html article and this doesn't work for me.
    Has anyone done this successfully??
    ******************************** MY REPLY:
    This is true.
    I can get the system install to work if I add the parameter:
    deployment.system.cachedir=C\:\\testcache
    to the deployment.properties file found under:
    C:\Documents and Settings\username\Application Data\Sun\Java\Deployment
    but it will NOT work by adding it to the:
    C:\WINDOWS\Sun\Java\Deployment
    directory. It just creates a new default one in the user's folder.
    What am I doing wrong?
    If there is not a way to globally set the System Cache location, then this isn't much better than the user cache for being able to "install" the software once on the PC and let any user that signs in access that application.
    We had high hopes for this, since this functionality was taken away from us once the java cache started being stored in the user's folders.
    More details:
    I just tried setting the mandatory=true setting and it tells me that it is not allowed to start because it can't find the
    deployment.properties in the same folder (full path is displayed) but I know it is there, because it is the same folder. I even double checked the spelling.
    Maybe there is a bug in the way it finds that properties file, or maybe I need to include something in that file that I didn't find in documentation?
    All it has in it is the one line:
    deployment.system.cachedir=C\:\\testcache
    Can anybody help shed light on this?
    It seems to be a bug that it can't find the deployment.properties file in the 'system' folder.
    -Chris

    I now found more on another thread:
    http://forum.java.sun.com/thread.jspa?messageID=3500778&#3500778
    You can close this one.
    Sorry.

  • Bridge encountered a problem and is unable to read the cache. Please try specifying a new cache location in Cache Preferences to correct the situation.

    Bridge encountered a problem and is unable to read the cache. Please try specifying a new cache location in Cache Preferences to correct the situation.
    I have do this again and again and again but Bridge ask me to this each time a start up ??

    Maria,
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • Using Suri asking any localised question in the UK, it responds with 'cannot help' can only use US locations etc. and in US English. Have I missed something or set something up incorrectly? I also thought it would interface with your Facebook but it just

    Using Suri asking any localised question in the UK, it responds with 'cannot help' can only use US locations etc. and in US English. Have I missed something or set something up incorrectly? I also thought it would interface with your Facebook but it just comes back with a 'I can't help you with Facebook' message

    Yeah, Siri - a headline feature on the iPhone 4s page - is beta at the mo.
    But then anyone who's used Macs for a few years will know that most new software is pretty much still in beta when it's released anyway. Only Apple could get away with it and retain customers

  • Captivate 8 Cache location

    Hi,
    Was wondering if i could get a firm response on whether the standard cache location can be modified for users of the application by defaut from
    C:\ My Documents\My Adobe Captivate Projects.
    We require the location to be set to D:\My Adobe Captivate Projects area(without manual intervention), we have tried to replace the objects.cpo (which holds a D Drive location) file for our test users but it seems to cause issues with the startup menu not displaying correctly. We have confirmed this with the following test.
    Login as Administrator
    Start Captivate and make configuration change. This creates and then updates Objects.cpo.
    Copy Objects.cpo to standard user profile
    Login as Standard User
    Start Captivate. Menu does not display correctly
    below is the default view that we expect from the application (this is when no changes are made)
    Any help to get to the botton of the issue will be greatly appreciated.

    Why don't you just change the location in the Edit > Preferences > General > Default Locations fields?  Do this without any projects open to set Global Preferences.  Make sure all projects you create are also set this way for their Local Preferences.
    Check what it looks like in Cp7 here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-preferences
    Cp8 is much the same.

  • Adobe Acrobat 9 Updater Preference File Location

    What is the default Adobe Acrobat 9 Updater Preference File Location setting when you click on Help > Check for Updates?

    Windows XP
    C:\Documents and Settings\<current user>\Local Settings\Application Data\Adobe\Updater6\
    Windows Vista
    \\Users\<current user>[AppData]\Local\Adobe\Updater6\
    Windows 7
    C:\Users\<current user>[AppData]\Local\Adobe\Updater6\
    Mac
    "/Users/<current user>/Library/Application Support/Adobe/Updater6/"
    AdobeUpdaterPrefs.dat

  • Set preferences

    How do you set preferences in Reader for iPad, such as background color for notes, line weight, etc.?

    For line weight, we just remember the last line weight you used as your value for new lines...we don't have a separate "Preferences" area for changing that.
    We don't yet allow setting the color for sticky notes, but when we do, I expect it to be the same...direct editing with memory, rather than a "preference" as you may have become accustomed to in desktop apps.

  • Can't set preferences, and other greyed menu choices

    Cannot set preferences for iDVD 06, and most menu choices are greyed.
    [Note: this is NOT the case with all other iLife 06 applications where all menu selections are active.]
    Looking through this forum I tried deleting the files in the library, as seems to be a frequent solution to everythng. This did NOT work in my case.
    This is the only program in iLife06 which has this problem. All the others have active menu selection. I can't even get "About iDVD" to work!
    Thanks for your help. Very frustrated.

    I would start by forcing AppleWorks to create new preference files.
    Quit AppleWorks and go to the Finder.
    In a finder window, go:
    yourname > Library > Preferences
    Locate and select the folder AppleWorks and the file com.apple.appleworks.plist
    Drag both to the Desktop or to the Trash (but don't empty the Trash).
    Relaunch AppleWorks to check for any change.
    Regards,
    Barry
    NOTE: This will return all preferences to their default settings. AppleWorks will construct new copies of the plist, the folder, and the files in the folder as it needs them. If you have made changes to the Button Bar, and have had no issues related to the Button Bar, you can restore those changes (probably without issues arising) by dragging the Button Bar file from the folder you moved into the new one in Preferences when it is created.
    B
    Edit:
    While your issue does not appear to be caused by the Recent Items bug referenced in Michael's post (after "Also perhaps..", there's no danger in clearing your Recent Items folder as discussed in the linked User Tip. This is a 'regular maintenance' procedure for me.
    B
    Message was edited by: Barry

  • Help setting up Window.location.href to open a file, and 1 other issue

    Hey there,
    I am a student currently working on a school project where I must make a website. I am trying to set up: window.location.href="C:\Users\*PCNAME*\Desktop\*SITE*"; in that fashion to open up a local file on my HDD, so when I click a specific area, it opens that page from my local files. This setting works with opening web pages like "http://www.google.com" just fine, but when I attempt to instead open up a file location I am given an error.
    Also, my other question is how to have more than 1: <script type="text/javascript"> function LinkTo(){, so that I can have 2 seperate buttons on my web page linking to 2 seperate sites.
    Here is a link to the PasteBin with my code: http://pastebin.com/Eawy2hcL
    Basically, I am wondering how to set up window.location.href to open  up a page located in my files rather than from the internet like Google or Facebook; and, I am wondering  how to have multiple LinkTo scripts set up so different buttons link to different pages and how to link those buttons to each script. I am new to Dreamweaver, so forgive me if anything is blindingly obvious! 

    Okay, I'll try to explain better. Btw, thanks for the bottom part. Figured out I am not supposed to put the full location of the file, only the page (index.html), not C:\Users\*NAME*\etc...
    Anyways, I am wanting multiple scripts.
    Basically, I want the left cell to, when clicked, go to NewCars.html, and the right cell to link to UsedCars.html. It is a table that I have configured to be clicked anywhere in the cell rather than just having to click the words to go to a link. The code is:
    <table width="100%" border="1">
      <tr>
        <td style="cursor:pointer;cursor:hand;" onClick="LinkTo()" width="50%" bgcolor="#C5B8B8"><h2 style="text-align: center">Shop New</h2></td>
        <td style="cursor:pointer;cursor:hand;" onClick="LinkTo()" width="50%" bgcolor="#C5B8B8"><h2 style="text-align: center">Shop Used</h2></td>
      </tr>=-
    </table>
    I have the LinkTo script set up, but I don't know how to add another LinkTo script that goes to a different page so that way the first LinkTo script for the"Shop New" cell takes you to the NewCars page, while the "Shop Used" cell takes you to the ShopUsed page.

  • Bridge CS6 cache location

    My Master Collection CS6 was installed as administrator under Win 7 x64 Pro .
    In CS5 I placed the cache on a non-boot drive.
    In CS6, the only cache location options available to me from within Preferences are within my User folder on the boot drive.  I am running as admininstrator, and have tried explicitly running as administrator to no effect.
    How can I get the CS6 cache onto the drive of my choice?

    Note the current folder and the full path to the folder you want to use for the cache.
    Run regedit.
    Search for Bridge CS6.
    Look down the associated keys and locate the folder noted above. Only one place needs changing.
    Edit the folder name to read the new location.
    Re-start Bridge and check the preferences show the new folder.
    Delete the old cache folder (mine was 40+ gigabytes).
    Leave Bridge running until it has finished regenerating the cache in the new location.
    It might have been quicker to copy/move the old cache to the new location before re-starting Bridge after the location change, but I wasn't sure it would work correctly and was pleased to have a fresh, clean cache.

  • Unable to change Bridge CS5.5 Cache location to other than c:\user\

    For some reason, I am unable to change the Cache location of Bridge CS5.5 outside of my c:\user\ folder. Other drives in the system are not seen by Bridge. This was not the case before. I used to have it in a different dedicated drive. I reset the preferences, deleted the cache but still they do not help. Please help, as my C: Drive is a SSD with limited space and contains OS only! There is no problem with PS or PR, only Bridge.

    If it worked before what did you change?
    I know there are some problems in Bridge with users relocating temp file to so place other than C drive.  Known bug.
    Here is a link with similar situation.  http://forums.adobe.com/thread/760369

  • Setting Library Storage Locations

    Hi, can you please help regarding setting my Storage Locations to an external drive (FCPX 10.1.4). I want to work from a single external drive, so I obviously set my  MEDIA to the external drive, but what about CACHE and BACKUPS? Is it best to leave these in the LIBRARY default, or should I also set them to my external drive in my project folder?
    Thanks so much.

    Tom Wolsky wrote:
    Cache should be on the media drive as well.
    …any reason for that?
    or, perhaps, I should ask in first place: What is cache of FCPX anyhow?
    I thought, these are 'between data' of the app itself, therefor I thought, it's better placed in the fast lane = internal drive?
    No?

  • Bridge CS5 Cache Location

    What are the advantages and disadvantages of centralized vs. "exported to folders" cache locations in Bridge CS5?
    I see in the help section it says something about sharing images across computers.
    Other than that, what are the effective differences?
    Thanks,
    Drew

    Have never seen a document laying out exactly how cache works, but this is my understanding.
    Central cache is the main cache, and when you select purge this is the one that gets purged.
    I use central cache as I believe that if you get a contaminated file you will have to manually delete the cache in all the folders, as purging only affects central cache.  Using central cache may cost time, expecially on folders I rarely use, as the cache may have been deleted and replaced by cache from recently visited folders.  But this depends on how many files you have and where you have the slider set for storage.
    Some have reported that haveing distributed cache speeds up loading time for folders.  Distributed cache is an additional cache put on the various folders.   It is useful if you want to send photos to another drive as all the  info is there (XMP files).  Otherwise you have to choose build and  export cache.
    Hope this helps.

Maybe you are looking for

  • How to Add Sales order from one database to another database

    Hi All, I am trying to add sales order with sales order object. I have completed connectivity from one database to another database. but i am unable to post sales order with orders object. My code is ObjSales = objMain.objUtilities.GetBusinessObject(

  • How to populate a form from an xml file with multiple records

    I want to be able to create a single form that will add pages as needed based upon the number of records being imported from an xml file. I have an IRS form that does this exactly, but I do not know how to re-create it.  I entered data into the form,

  • Flash builder 3 won't compile

    I have a flash builder 3 project  but I done something but it won't compile now. How can I resolve this. Tried clean project and no luck

  • Skype Crashes when using video connection

    Skype crashes when I attempt to use video. I can establish a voice connection with my contact, and all works fine if we are not using video. The moment I enable video in the session, Skype crashes.  This is repeatable. The other end does not need to

  • Mass Print Sales Orders

    Hello, I need to mass print sales orders. Upon trying to use program SD70AV1A using the following settings: Output Type                       Z*** Transmission Medium         1 Sort order                           01 Processing mode                1