List Presets

Description

“List Presets” is a miscellaneous utility script using the JSON Action Manager scripting library.

This stand-alone script written in JavaScript opens a dialog box with a text field containing a JSON object listing the names of all presets (brushes, swatches, gradients, styles, patterns, contours, custom shapes, and tools) currently available in Photoshop. You can copy or save the generated JSON text.

List Presets Dialog (Mac OS X)

Warning:

  • In Photoshop CS2, the above dialog is omitted, and a standard save file dialog is directly displayed instead, asking where the generated JSON text should be saved.
  • In Photoshop CS, the generated JSON text is directly saved to a default file located on the user’s desktop.

Requirements

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

Copyright

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

License

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

Download

Installation

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 get directly accessible from Photoshop’s File menu: in Photoshop CS or CS2, it will appear in the File>Scripts submenu, among all other scripts sorted by lexical order; from Photoshop CS3, it will appear grouped by category in the File>Automate submenu.

Version History

  • 4.1

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

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

    • Used File.decode () for display of default file name.
    • Added file created dialog for CS.
  • 3.8

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

    • Used new version of scripting library modules.
  • 3.6

    • Used new version of scripting library modules.
  • 3.5

    • Used jamUtils.writeTextFile () in replacement of custom code.
  • 3.4

    • Added ‘TEXT’ Mac OS type to newly created JSON file.
  • 3.3

    • Used new version of scripting library modules.
  • 3.2

    • Incremented version number to keep in sync with scripting library modules.
  • 3.1

    • Incremented version number to keep in sync with scripting library modules.
  • 3.0

    • Applied the redefined JSON AM Reference format.
  • 2.0

    • Simplified About string in resource header.
    • Added user save dialog when available.
    • Made stand-alone (using inline minified headers).
  • 1.0

    • Initial release.

Tags: , , , ,

Comments are closed.