Photoshop: Trouble exporting layer comps to file 'No layer comps found in document

  • 1
  • Problem
  • Updated 6 years ago
  • Solved
  • (Edited)
I have a problem exporting layer comps in cs5. When I try to do so I get the message: 'No layer comps found in document!' Is this a bug?
Photo of Charlotte BeevorReid

Charlotte BeevorReid

  • 5 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14100 Posts
  • 1749 Reply Likes
Official Response
It's a minor bug if the document contains only one Layer Comp. It can be easily solved by opening the script file located in the Photoshop application folder Presets>Scripts>Layer Comps To Files.jsx

Change line 167 from:

if ( compsCount < 1 ) {

Save the script and run it again.

Though, if there's only one comp in the file, it's just as easy to use File>Save As... :)
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14100 Posts
  • 1749 Reply Likes
Official Response
Photoshop CS6 allows Export Layers Comp commands to work with a document with just one comp.