I'll be the first to admit that I'm struggling with coding of the scripts but I'm trying to take the standard Layer Comp to files script but amend it so that the file name features the name of the active layer comp but also the name of the layer comp from the linked smart object.
Using script from here I can run a script that correctly identifies the information required
To explain the setup, I have a file which has a number of layer comps (colours) then a linked smart object which also has layer comps (designs). The ultimate goal is to run the script and the file to be produced with a file name as follows
smartobjectlayercompname-layercomp.jpg
Any help would be very gracefully received.
Tim