Тёмный

Adobe Script Tutorial 31 Delete Swatches 

William Campbell
Подписаться 7 тыс.
Просмотров 604
50% 1

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@miguelangelsb_
@miguelangelsb_ Год назад
Amazing, thank you so much! Is there a way to specifically remove the extra swatches that are usually imported when placing a Word Document? Those that start with "Windows...". Thank you again.
@wc7
@wc7 Год назад
Yes it can be done. Loop through the swatches collection and inspect the name property of each. Check the name for the text you're looking for. If it matches, remove the swatch, or whatever else you want to do with the swatch. This is similar to the Layers tutorial (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sgDKNQZfeI4.html). Only difference is you want to look at the swatches collection instead of the layers collection. I can make another tutorial showing examples.
@miguelangelsb_
@miguelangelsb_ Год назад
@@wc7Thank you! I don't have my PC at hand this week unfortunately, but as soon as I can I'll test it and report with any questions.
@bilal-zr6uy
@bilal-zr6uy Год назад
It is possible to remove only unused swatches, I will find my code soon and post it. If doing that, it will only delete and select what is not used and still able to be deleted.
@helenawilsena5821
@helenawilsena5821 Год назад
Can you make a simple panel script for Adobe Animate cc? ❤
@wc7
@wc7 Год назад
From what I understand Adobe Animate does not support ExtendScript. It has its own JS-based scripting language, which I am not familiar with. My area of expertise is ExtendScript.