adobe-photoshop / generator-assets

Generator Plug-in for Adobe Photoshop CC that helps users export image assets
MIT License
496 stars 86 forks source link

Using generator assets in custom plug in #450

Closed javierdlg closed 6 years ago

javierdlg commented 6 years ago

I want to use this script with a plug in that I'm making so that I can specify a file size. Can this script he called from my plugin? I'd so, is there an api for it?

mcilroyc commented 6 years ago

It is possible to use this repo (generator-assets) as a dependency in your plugin. An old example is here: https://github.com/adobe-photoshop/generator-spaces

You could also consider forking this repository and adding your file-size logic

the 2.9 branch is the most stable

further questions can be asked here: https://groups.google.com/forum/#!forum/adobe-generator-dev