Insert Custom Shape Path


“Insert Custom Shape Path” is a custom shapes files utility script using the JSON Action Manager scripting library, and more specifically its module jamShapes.

This stand-alone script written in JavaScript is used to create a work path from a custom shape contained in a Photoshop custom shapes file (.csh).

Please refer to the Photoshop Custom Shapes File Format document for detailed information about the structure of a custom shapes file.

Insert Custom Shape Path Dialog (Mac OS X)

A tool-tip displaying the full path name of the custom shapes file is available while hovering over the custom shapes file text field.

Insert Custom Shape Path Help Tip (Mac OS X)

Example of path inserted from a custom shapes file (Valentine.csh):

Heart in a Square Custom Shape Path


This script can be used in Adobe Photoshop CS3 or later. It has been successfully tested in CS4 on Mac OS X, but should be platform agnostic.


This Software is copyright © 2011-2015 by Michel MARIANI.


This Software is licensed under the GNU General Public License (GPL) v3.



Download the Zip file and unzip it.

Move the script to the Presets/Scripts folder in the default preset location of the Adobe Photoshop application. On next launch, the script will appear in the File>Automate submenu.

Version History

  • 2.0

    • Used new version 4.4.4 of jamEngine scripting library module.
  • 1.9

    • Used new version 4.4.1 of scripting library modules.
  • 1.8

    • Used new version 4.3 of jamHelpers scripting library module.
  • 1.7

    • Fixed generation of presets folder name.
    • Replaced decodeURI () with File.decode () for the sake of consistency.
    • Used new version 4.1 of jamShapes scripting library module.
  • 1.6

    • Used new version 4.0 of scripting library modules.
  • 1.5

    • Used new version of scripting library modules.
  • 1.4

    • Used new version of scripting library modules.
  • 1.3

    • Improved performance by delaying the full parsing after dialog exit, and limiting the parsing to the actual custom shape to be inserted.
  • 1.2

    • Used new version of jamShapes scripting library module.
    • Changed default value of constrain proportions to true.
  • 1.1

    • Initial release.

Tags: , , , , ,

Comments are closed.