Instructions in other languages: English, Русский
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).
- ArtboardsFromCSV
(new, 15.01.2024)
- ClearLayer
- ExportPathsToAi
- GeneratePreview
- MultiEditText
(new, 10.04.2024)
- RenameArtboardAsSize
(new, 08.01.2024)
- SaveAll
- SelectShapesByColor
(upd, 10.08.2022)
- TIFF2Print
- ToggleLayersLocksByName
- In the script description, click the "Direct Link" button.
- The tab will open the script code.
- Press Cmd/Ctrl + S for download.
- Download archive and unzip. All scripts are in the folder
jsx
- 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\
- OS X:
- Restart Photoshop
- You can also setup a custom hotkey in
Edit → Keyboard Shortctus…
Drag and drop the script file (JS or JSX) on Adobe Photoshop icon
I recommend the Scripshon Trees panel. In it you can specify which folder your script files are stored in.
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.
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.
Simple script to clear layers content.
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
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
.
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
Renames artboards according to their size in units from Preferences > Units & Rulers
menu.
Save all opened docs in one click.
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
.
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
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]'
.
Don't forget sharing link with a friend 🙂
Found a bug? Please submit a new issues on GitHub.
Email hi@sergosokin.ru
Telegram @sergosokin
All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.