Comments (4)
He sorry for not replying sooner. This exporter does not export files using layernames. this exporter is for when you use Artboards and layercomps together in a single file. It can also do layercomps alone, but you need to convert the file to have 1 artboard. My version of the layercomps is more expanded then default Photoshop layercomps exporter.
But this script is not a layer exporter.
PS ive swapped out underscore for dash, using dash is better for editing. Though underscore is easier for reading. When you need to adjust names in those files, when it has dashes you can use shortcuts to jump between parts in the name. This does not work with underscore. Therefor i dont use this naming method since couple years.
from photoshop-scripts.
Hi thank you for looking at this. I wasn't asking about using the Layer name, but including an option to place the "Layer Comp" name before the Art Board name in the export options. So you could export as "LayerComp1_Artboard1.jpg"
Thanks again!
from photoshop-scripts.
Sorry i misunderstood the request. That can be done yes.you will need to swap the lines of code for that. I'll get back asap with the lines need to swap
from photoshop-scripts.
You will need to swap line 2715 - 2727 out with the text below.
if (exportInfo.prefixIndex) {
if ((exportInfo.inclArtboardName) || (exportInfo.fileNamePrefix)) {
fileNameBody += "-";
}
fileNameBody += zeroSuppress(compsIndex, 4) + "-";
fileNameBody += compRef.name;
}
if (exportInfo.inclArtboardName) {
if (exportInfo.fileNamePrefix) {
fileNameBody += "-";
}
fileNameBody += abAr[artbrdIndex].name;
Make sure the insets are equal to the image below, otherwise it will returns errors and not run at all
Ive added the updated versions below, guess thats easier. Not this is version 128. Ive not uploaded these fixes yet. I noticed when i have just 1 artboard it would return an error. Ive fixed that last week.
LayerComps-Artboard-To-Files_v128-customnaming.zip
from photoshop-scripts.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoshop-scripts.