Skip to content

hanggrian/prepress-adobe-scripts

Repository files navigation

Figma Layers Pinterest

Prepress Adobe Scripts

Collection of Illustrator and Photoshop scripts to automate repetitive tasks and procedures of preparing final print layout.

  • Multiple languages.
  • Dark theme support.

View scripts' descriptions

Download

There are several ways to use the scripts, a recommended method is to install them in Adobe installation paths so that they may appear in Menubar > File > Scripts.

In any case, download the source code and pick one of the following solutions.

Automatic Installation

macOS installation.

Run install.bat as admin (Windows) or install.sh with sudo (macOS).

Manual Installation

Copy certain files and directories from this repository to your local Adobe installation paths, usually Applications in macOS and Program Files in Windows.

Illustrator

From To
Content of Illustrator Scripts $APP_DIR/Presets/$LOCALE_CODE/Scripts/
.stdlib and .stdres $APP_DIR/Presets/$LOCALE_CODE/

Photoshop

From To
Content of Photoshop Scripts $APP_DIR/Presets/Scripts/
.stdlib and .stdres $APP_DIR/Presets/

In macOS, make sure to show all hidden files in Finder.

No Installation

It is possible to use the scripts by drag-and-dropping JSX files directly to Adobe apps. Just make sure to keep the entirety of root folder instead of only Illustrator Scripts or Photoshop Scripts folders.

This is because the scripts are not standalone, all of them require hidden directories to be in pre-determined locations.

Usage

Script menus in Illustrator. Script menus in Photoshop.

If you decide to install the scripts, they can be accessed from menubar or keyboard shortcuts.

Building

  • WebStorm, a JavaScript IDE with code style JavaScript Standard Style.
  • Visual Studio Code with extensions:
  • TableTool, a GUI for editing CSV files with configurable delimiter and quote characters.

Website

Forked from Mediumish Jekyll Template.

  • WebStorm.
  • Jekyll, static sites generator.

Assets

  • Adobe Illustrator, used to manage vectors and generate images.
    • RGB, Screen (72 ppi), Pixels.
    • No color swatches to reduce file size.
    • Non-decimal artboard's position to generate image in exact dimension.
    • Save files in ai format using options:
      • Create PDF Compatible File if such files are directly linked to others, disable otherwise.
      • Use Compression.
    • Generate files in png with Export for Screens... using options:
      • 8-bit for resources.
      • 32-bit for others.

References

Unofficial documentation and scripting guides.

Suite JavaScript Reference Guide
JavaScript JSDoc Guide
ExtendScript & ScriptUI Index Wiki
JavaScript Tools Guide
ScriptUI for Dummies
Illustrator Index Scripting Guide
Photoshop Index