Quick Run Code

Description

“Quick Run Code” is a code utility script using the JSON Action Manager scripting library.

This stand-alone script written in JavaScript opens a resizeable dialog box with one text area; copy or type any JavaScript code in it, then click the Run button to get it executed. Basic editing support is provided, i.e., tabulations and new lines can be inserted.

Quick Run Code Dialog (Mac OS X)

Requirements

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

Copyright

This Software is copyright © 2011-2016 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 appear in the File>Automate submenu.

Version History

  • 4.4

    • Added include file jamBooks.jsxinc in predefined headers.
    • Used new version 4.5 of jamEngine scripting library module.
  • 4.3

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

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

    • Added include file jamColors.jsxinc in predefined headers.
  • 4.0

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

    • Used new version of jamEngine module.
    • Added include files jamLayers.jsxinc and jamText.jsxinc in predefined headers.
  • 3.8

    • Used new version of scripting library modules.
  • 3.7

    • Added include file jamStyles.jsxinc in predefined headers.
    • Used latest version of the JSON Action Manager scripting library modules.
  • 3.6

    • Added include file jamShapes.jsxinc in predefined headers.
  • 3.5

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

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

    • Added include file jamActions.jsxinc in predefined headers.
    • 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

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

    • Simplified About string in resource header.
    • Improved the availability of monospaced fonts.
    • Used more parse-friendly JSON compact format.
    • Used stand-alone JavaScript interpreter instead of eval ().
    • Renamed script “Quick Eval Code” to “Quick Run Code”.
    • Added predefined code Header text field.
    • Added Clear code button.
    • Added Load code from file button.
    • Added Save code to file button.
    • Added Don’t Run button.
    • Made stand-alone (using inline minified headers).
  • 1.0

    • Initial release.

Tags: , , ,

Comments are closed.