How to run script

5 different ways

Installing a Photoshop Script

Scripts installed using this method are available for use every time you launch Photoshop via the File > Scripts menu.

  1. Close Photoshop if it is open.
  2. 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.
  3. Open Photoshop.
  4. 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

  1. Ensure the script and its ‘Scripts Only’ folder are located in the same directory.
  2. Open Photoshop.
  3. Select File > Scripts > Browse and navigate to the ‘Scriptname.jxs’ file.
  4. 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.

  1. Launch the keyboard shortcuts dialog by clicking Edit > Keyboard Shortcuts.
  2. Under ‘Application Menu Command’ open the entry for ‘File’.
  3. Scroll down, past ‘Scripts’ until you see the name of your script.
  4. Click the blank area for the script’s shortcut.
  5. 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.
  1. If there is a conflict between your chosen combination and an existing shortcut, a message will appear at the bottom of the dialog.
  2. 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

--

--