4 Replies Latest reply: Jun 10, 2015 2:54 AM by michelr31372089 RSS

    How to add scripts to File->Scripts

    TomZhang Community Member

      I plan to add scripts to Photoshop File->Scripts menu items. Or some other convenient mothed to invoke my script. How could I do it?

        • 1. Re: How to add scripts to File->Scripts
          c.pfaffenbichler Community Member

          Just put the jsx-files into the Presets > Scripts-folder.

          After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action or (in CS4 and CS5) be used in a Configurator-Panel.

          Configurator buttons can either refer to a Script or contain its code.

          • 2. Re: How to add scripts to File->Scripts
            JJMack MVP

            If your on windows you can add a link(Windows Shortcut) to Adobe Photoshop Presets\script\ folder to your Phtoshop Scripts tree to link Photoshops script path with your script tree to keep your scripts sepreate from Adobe scripts.  Photoshop will includ your Scripts, Plug-ins Scripts and Help in it File>Scripts> List, File>Automate>List and Help>About Plug-ins>List is like adding an additional Plug-in path to Photoshop Preferences. 

            • 3. Re: How to add scripts to File->Scripts
              dgolberg Community Member

              If you're on Windows 7, you can drag the script file over your Photoshop icon on the taskbar to "pin" the script to the right-click menu for Photoshop.  Any time you would need to run it, just right-click the icon on the taskbar and select the script from the "Pin list".

              • 4. Re: How to add scripts to File->Scripts
                michelr31372089 Community Member

                Hi all,

                I am on Windows 7. All my scripts are in the same folder (c:\Photoshop Scripts).

                Every script begins as follow :


                // MAC Finder or WINDOWS Explorer  double clic enabled 
                #target photoshop


                I launch my scripts with links created in a desktop folder. JSX extension is associated to Photoshop. Nothing else to do. The scripts open Photoshop. I never use any browser.

                Excuse my poor English.