Retrieve colors from swatches into Ui

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

vladuha

Retrieve colors from swatches into Ui

Post by vladuha »

Hello,
I am wondering is there any way to retrieve all colors from current swatches panel and then display them in the UI window?
Or maybe you have any ideas that will help me to dig in a right way.

Thankfull in advance!

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

xbytor

Retrieve colors from swatches into Ui

Post by xbytor »

You should find this useful:
http://ps-scripts.cvs.sourceforge.net/v ... atches.jsx ... atches.jsx

readFromRuntime is how you get the current color swatches.
vladuha

Retrieve colors from swatches into Ui

Post by vladuha »

Thank you very much! This is more than useful.