Skip to main content
Participating Frequently
June 17, 2011

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

  • June 17, 2011
  • 10 replies
  • 681 views

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?

This topic has been closed for replies.

10 replies

Legend
April 13, 2012
Photoshop CS6 allows Export Layers Comp commands to work with a document with just one comp.
SeaBearrAuthor
Participating Frequently
June 17, 2011
how do i do that? i am the only one who has a login to this computer. yes windows.
Legend
June 17, 2011
Ahh. It's a permissions issue. You may need to open the file as an administrator. (if you're on windows)
SeaBearrAuthor
Participating Frequently
June 17, 2011
when trying to save the script
Legend
June 17, 2011
Where did you get the message "cannot write to file"? When trying to save the script? Or when trying to run the script?
SeaBearrAuthor
Participating Frequently
June 17, 2011
ok, thanks

I tried this but got the message "cannot write to file"
Legend
June 17, 2011
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... 🙂
SeaBearrAuthor
Participating Frequently
June 17, 2011
yes
Legend
June 17, 2011
Do you only have one Layer Comp in your document?