6 Replies Latest reply: Apr 4, 2012 5:43 AM by Harbs. RSS

    ScriptUI get path to indesign install directory


      Does anyone know if there is a way to get a users path to their install directory?


      I have script, that creates a new menu item when Indesign starts up.  the menu item is clicked, it opens another script.


      Right now, I have the path to the second script hardcoded, which works fine:

           C:\Program Files (x86)\Adobe\Adobe InDesign CS5.5\Scripts\Scripts Panel\DM_Core\DM_RemoveMenu.vbs


      but now I have to give this to other users, and I need to know if there is some way to get the installation path that they have to their indesign.


      Ultimately, what I would like to get is this:


           C:\Program Files (x86)\Adobe\Adobe InDesign CS5.5\Scripts


      I have tried scriptsFolder but that doesn't take me to the right place.


      Anyone have any ideas.