Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Re: How batch export layers to files png in cc

$
0
0

The variable exportPath is what you want to change near the beginning. It should read:

 

var exportPath = "~/Desktop/Backdrops/png/";
exportPath = exportPath + '/layers';//Get rid of this

The line you mentioned above should be:

 

desc4.putPath( id25, new File( exportPath + fileNameBody + ".png") );

 

Again, you have to be logged on as "Tim" to acess that user's folder. If you're not, you have to run the script as an Admin and then spell out the entire path.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>