swatches

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

arysp

swatches

Post by arysp »

I want to create a script that get an .aco file
with for example five colors inside
and in an opened document in photoshop the script creates five solid color fill layers
and the name of the layer is the hex code of that color

would you help me

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Paul MR

swatches

Post by Paul MR »

I know nothing about swatchs, but have had a go. The following code is using Xbytors ColorSwatches.jsx and Stream.js from his xtools
bb/viewtopic.php?f=25&t=5010

I have slightly modified the code, this now prompts for an external swatch (aco) file and will/should create solid colour layers in the open document of all the colours it finds. (A new document will be created if one is not open) the layer name is the hex number of the colour.
mullarafiq2

swatches

Post by mullarafiq2 »

hi

can you modify the script to layer name as swatch name
kindly do the needful