Skip to content

Some powerfull JSX scripts for extending Adobe Photoshop

License

Notifications You must be signed in to change notification settings

creold/photoshop-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

header

Adobe Photoshop Scripts

Downloads Telegram Yotube

Instructions in other languages: English, Русский

👨‍💻 Hi

This is a collection of JS scripts for Adobe Photoshop.

The descriptions for each file can be found in the file’s header text. Test environment: Photoshop CC 2019, 2024 (Mac OS).

Scripts

How to download one script

  1. In the script description, click the "Direct Link" button.
  2. The tab will open the script code.
  3. Press Cmd/Ctrl + S for download.

How to run scripts

Variant 1 — Install

  1. Download archive and unzip. All scripts are in the folder jsx
  2. Place <script_name>.jsx in the Photoshop Scripts folder:
    • OS X: /Applications/Adobe Photoshop [version]/Presets/Scripts/
    • Windows (32 bit): C:\Program Files (x86)\Adobe\Adobe Photoshop [version]\Presets\Scripts\
    • Windows (64 bit): C:\Program Files\Adobe\Adobe Photoshop [version] (64 Bit)\Presets\Scripts\
  3. Restart Photoshop
  4. You can also setup a custom hotkey in Edit → Keyboard Shortctus…

Variant 2 — Drag & Drop

Drag and drop the script file (JS or JSX) on Adobe Photoshop icon

Variant 3 — Use extensions

I recommend the Scripshon Trees panel. In it you can specify which folder your script files are stored in.

Donate

Many scripts are free to download thanks to user support. Help me to develop new scripts and update existing ones by supporting my work with any amount via Buymeacoffee, Tinkoff, ЮMoney, Donatty, DonatePay. Thank you.

ArtboardsFromCSV

Direct Download

The script creates artboards vertically in the document using information from CSV tables. The size of the artboards is calculated in units from Preferences → Units & Rulers.
Based on Kristian Andersen's script, 2017.

ArtboardsFromCSV

ClearLayer

Direct Download

Simple script to clear layers content.

ClearLayer

ExportPathsToAi

Direct Download

Exports all visible vector layers from .psd to a .ai file in the same folder as the original file. Known Photoshop restrictions:

  • paths are exported unfilled
  • reverse paths order. To fix this, select the paths in Illustrator and click Reverse Order in the Layers panel

ExportPathsToAi

GeneratePreview

Direct Download

Generate JPG preview image from active document. Supports multiple saving with auto-numbering. If you want to change JPG size, edit number in script file var jpegSizeMax = 1200.

GeneratePreview

MultiEditText

Direct Download

Multi-editing of selected text layers. The script allows you to enter the same text, replace the current text layer content or add the entered text to the current one.

  • Edit Separately - edit contents of frames separately, contents are separated by @@@@ symbols.
  • List by XY - sort the order of texts by their position, otherwise they will be displayed in order in layers
  • Reverse Apply - replace contents in reverse order

Tip

If you want to change the size of the text area, open the script file with a text editor and change the CFG width: 300 and height: 210 to another value. The key to displaying different content is ph: '<text>' and the text divider divider: '\n@@@@@\n', where \n is a line break. softBreak: '@#' — soft line break char.
For a line break (new paragraph), use Ctrl + Enter on a PC or Enter on Mac OS. To insert a soft line break chat (no paragraph indent), press Shift + Enter.

See also Adobe Illustrator version

MultiTextEdit

RenameArtboardAsSize

Direct Download

Renames artboards according to their size in units from Preferences > Units & Rulers menu.

RenameArtboardAsSize

SaveAll

Direct Download

Save all opened docs in one click.

SelectShapesByColor

Direct Download

Selects all vector layers and text objects in the document that have the same color as the active layer. Locked layers will also be selected. If you also want to select solid layers Layer > New Fill Layer > Solid Color..., edit in script file var inclSolid = true.

SelectShapesByColor

TIFF2Print 1.0

Direct Download

Script to save a print ready .tif file.

Features

  • Adding width and height (mm) in file name
  • Shorten measure units (cm/m) when possible
  • Save the preview image with the file for printing
  • Auto adding an index to the name, to save multiple files
  • Parameters are easily configured in the script code

TIFF2Print

ToggleLayersLocksByName

Direct Download

Locks layers in the document based on the keyword in the name. Open the script file with a text editor if you want to specify another keyword and replace the text in quotes key = '[lock]'.

ToggleLayersLocksByName

Don't forget sharing link with a friend 🙂

Contribute

Found a bug? Please submit a new issues on GitHub.

Contact

Email [email protected]
Telegram @sergosokin

License

All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.

Releases

No releases published

Packages

No packages published