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
(new, 10.08.2022)
- GeneratePreview
- 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
.
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.