How to run script
5 different ways
Published in
2 min readJan 7, 2014
Installing a Photoshop Script
Scripts installed using this method are available for use every time you launch Photoshop via the File > Scripts menu.
- Close Photoshop if it is open.
- Copy the script and its ‘Scripts Only’ folder to the Scripts folder in your Photoshop installation directory. On Windows the path will be something like: C:\Program Files\Adobe\Photoshop CC\Presets\Scripts. On a MAC this folder is found here: Applications > Photoshop CC > Presets > Scripts.
- Open Photoshop.
- The script will now appear on the File > Scripts menu and can be run from here at any time.
Running a Photoshop Script without Installing
- Ensure the script and its ‘Scripts Only’ folder are located in the same directory.
- Open Photoshop.
- Select File > Scripts > Browse and navigate to the ‘Scriptname.jxs’ file.
- The script will run.
Running a script from a shortcut
Many applications have shortcuts or hot keys to allow you to access frequently used functionality faster. If you install your script to the File > Scripts menu you can allocate a keyboard shortcut to run the script using the instructions below.
- Launch the keyboard shortcuts dialog by clicking Edit > Keyboard Shortcuts.
- Under ‘Application Menu Command’ open the entry for ‘File’.
- Scroll down, past ‘Scripts’ until you see the name of your script.
- Click the blank area for the script’s shortcut.
- Type the required shortcut. You can choose any combination of keystrokes as long as the following two points are met:
- You must include ‘Ctrl’ or a function key. Do not use ‘Alt’. This will launch the script in ‘Debug’ mode, rather than run it properly.
- If there is a conflict between your chosen combination and an existing shortcut, a message will appear at the bottom of the dialog.
- When finished, click OK.
Pin to taskbar
You can easily fix the script file on the taskbar.
Double-click
Change the startup .jsx file using “Open with” -> Photoshop. Now you can execute the script by double-clicking on the file. More …