3 Replies Latest reply on May 9, 2011 9:49 AM by SuperBeer Dude

    Absolute Install Paths

    SuperBeer Dude

      I'm about to put together some simple installers that place a few Scripts and Automation Plugins into Photoshop versions 7 through CS5 on both Win and OSX.  Question is, where can I find documentation to make sure my install paths are correct to the Scripts and Automate Folders on all these versions on both platforms?

       

      I only have CS4 installed these days (win and osx) and CS5 on a Win laptop.  I probably do have all the previous version disks hiding somewhere but really don't want to reinstall all of them again.

       

      Thanks.

        • 1. Re: Absolute Install Paths
          xbytor2 Level 4

          From xtools/xlib/stdlib.js

           

          Stdlib = {};
          
          Stdlib.PRESETS_FOLDER =
            new Folder(app.path + '/' +
                       localize("$$$/ApplicationPresetsFolder/Presets=Presets"));
          
          Stdlib.ADOBE_PRESETS_FOLDER = Stdlib.PRESETS_FOLDER;
          
          Stdlib.USER_PRESETS_FOLDER =
              new Folder(Folder.userData + '/' +
                         localize("$$$/private/AdobeSystemFolder/Adobe=Adobe") + '/' +
                         localize("$$$/private/FolderNames/AdobePhotoshopProductVersionFolder") + '/' +
                         localize("$$$/private/FolderName/UserPresetsFolder/Presets=Presets"));
          
          Stdlib.SCRIPTS_FOLDER =
            new Folder(app.path + '/' +
                       localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts"));
          
          Stdlib.PLUGINS_FOLDER =
              new Folder(app.path + '/' +
                         localize("$$$/private/Plugins/DefaultPluginFolder=Plug-Ins"));
          
          Stdlib.FLASH_PANELS_FOLDER =
              new Folder(Stdlib.PLUGINS_FOLDER + '/' +
                         localize("$$$/private/Plugins/FlashFolder=Panels"));
          
          Stdlib.PS_SETTINGS_FOLDER =
              new Folder(app.preferencesFolder + '/' +
                    localize("$$$/private/WorkSpace/WorkSpaceFolder/WorkSpace=WorkSpaces"));
          
          
          

           

           

          This works for most recent versions of PS and is platform and language independent.

          1 person found this helpful
          • 2. Re: Absolute Install Paths
            SuperBeer Dude Level 1

            Thanks Xbytor, I'll look into that.

             

            BTW, what's up with ps-scripts.com?  I signed up for a user account a week ago and never get the authorization email?

            • 3. Re: Absolute Install Paths
              xbytor2 Level 4

              BTW, what's up with ps-scripts.com?  I signed up for a user account a week

              ago and never get the authorization email?

              >

              >

              >

              Drop a note to Mike Hale.

               

              -X