Sitemap

Amicuk Programming Answers

BUG: FatalError when exporting layer comps to pdf file in PhotoShop CS6

2015-10-11   Views:4

Advertisement

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients. When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients.
When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12 comps selected) today I got the following error:
"FatalError: General Photoshop error occurred. This functionality may not be available in this verison of Photoshop. - <no additional information available>"
The only other notification I get for this document is a missing font upon opening, which I do not imagine would be a problem.
I am on the latest version of PhotoShop CS6 as confirmed by my CreativeCloud app.
My MacBook Pro is pretty generously outfitted and updated: OS 10.9 (latest update), 16GB RAM, over 100GB free HD space, 1GB VRAM.
I haven't had a chance to do repeated tests to get it to fail like this again as I'm on a deadline so I had it do the same process but exporting ALL layer comps and I removed the unwanted pages in Acrobat Pro.

The replay answer
Advertisement
So I've found a bit in the script that I think might be it (below).  Can I remove that whole bit?  Or would changing the 4 to a 0 do the trick (I tried and it didn't do anything)... Sorry, but I'm not a coder so don't really know if I'm barking up the wrong tree or not.
Thanks
for ( compsIndex = 0; compsIndex < compsCount; compsIndex++ ) {
                var compRef = docRef.layerComps[ compsIndex ];
                if (exportInfo.selectionOnly && !compRef.selected) continue; // selected only
                compRef.apply();
                var duppedDocument = app.activeDocument.duplicate();
                var fileNameBody = exportInfo.fileNamePrefix;
                fileNameBody += "_" + zeroSuppress(compsIndex, 4);
                fileNameBody += "_" + compRef.name;
                if (null != compRef.comment)    fileNameBody += "_" + compRef.comment;
                fileNameBody = fileNameBody.replace(/[:\/\\*\?\"\<\>\|\\\r\\\n]/g, "_");  // '/\:*?"<>|\r\n' -> '_'
                if (fileNameBody.length > 120) fileNameBody = fileNameBody.substring(0,120);
                saveFile(duppedDocument, fileNameBody, exportInfo);
                duppedDocument.close(SaveOptions.DONOTSAVECHANGES);

Go to See the other 8 answers

BUG: FatalError when exporting layer comps to pdf file in PhotoShop CS6

Category:DefaultRelease time:2015-10-11Views:130

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients. When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12[More]

Photoshop CS5 export layer comps bug / issue

Category:DefaultRelease time:-0001-11-30Views:130

I'm experiencing a problem with CS5 that didn't happen in CS4. For some weird reason, when I use the export layer comps script, it won't let me choose a destination for the jpgs that is the macintosh HD. It will only work if I export to an external d[More]

Layer Comps to PDF -- Gone? Bridge not working correctly.

Category:DefaultRelease time:2015-10-11Views:130

I never needed this feature, but decided that it would be handy for a  project that I am doing. I have a set of powerpoint slides that are all  layer comps (6 slides). I went Export Comps to JPG to get the slides to  build my powerpoint, but I also w[More]

Exporting Layer Comps to Files

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to Export Layer comps to file to make a pdf of a 38 page document. When try to export to jpg or png the files are too small, even on the highest setting. When I try to export to tiff or psd, it doesn't flatten the files and gives me files[More]

Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts Layer Comps to PDF"? And how do I get them to look the same?

Category:DefaultRelease time:2015-10-11Views:130

Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts > Layer Comps to PDF"? And how do I get them to look the same?BOILERPLATE TEXT: If you give complete and detailed information ab[More]

When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality?

Category:DefaultRelease time:-0001-11-30Views:130

When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality? Thanks in advance to the group for assisting with this matter. - JohnNo, there isn't. The way you're using the file is n[More]

How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.

Category:DefaultRelease time:-0001-11-30Views:130

Hi I remember in CS5 there was a script you could change, but I can't remember what it was called or where it was saved.  Can anyone help please? I would like to stop Photoshop automatically adding a number prefix to exported layer comps. ThanksSo I'[More]

No link after exporting Crystal report as pdf file

Category:DefaultRelease time:2015-10-11Views:130

Hello,           If my Crystal Report contain link to the .avi file saved on the local hard disk and if I export the Report as .pdf file, pdf file does not contain that link. Why? The overall scenario is like- My application fires a query on SQL Serv[More]

Keynote exports to low quality PDF file

Category:DefaultRelease time:-0001-11-30Views:130

I exported my presentation to PDF file which looked perfect on my laptop screen. But when the presentation was projected on a large conference screen it looked awful - not contast and not well-readable. Does anybody know how to increase the quality o[More]

How to Export multiple photos from pdf files?.

Category:DefaultRelease time:-0001-11-30Views:130

Good day. How to Export multiple photos from pdf files?. Thanks.Hello how to reach from file menu ?. Running Adobe reader 9 version 9.3.0 Thanks again.Read other 5 answers[More]

Intermittent Bug when saving pdf files in Illustrator CS6

Category:DefaultRelease time:2015-10-11Views:130

I save a pdf file in Illustrator CS6 with a specific art board size. When I open it in Acrobat the size is off. When our print's RIP's the file, it is off the same amount. I will re-open it in Illustrator and re-save it and just change the name, the[More]

Hot
I have just tried to sync my ipod on itunes, and a screen comes up to tell me that over 100 songs from my library cannot be synced as they could not be found....... They all appear in my music library, and in their relevant playlists, only now they a [More]
HI folks,  I had a form that was working online, but now is not (with Reader update? )    If I open the form in Reader 10 on my desktop and click submit, it asks appropriately if I want to use a desktop app or web app.  I have tried using Submit with [More]
Hi All , I am trying to write a Merge statement , but I am getting the below error .    MERGE  INTO main_table m                           USING  tab_1 l, tab_2 u                           ON  (   l.col1        =  m.col1                               [More]
Is it possible to add digital signature to outgoing messages for all exchange users? Currently we have add digital signature individually using Outlook.Update to my question: Can we use our internal CA to publish certificates.  We only want digital s [More]
Hi- I usually record with input Channel 1 (Mono) because I record my guitar w/a regular 1/4" guitar cable feeding it through with a A.R.T. preamp. Now all of a sudden nothing comes through the Channel 1 but now through Channel 2 (Mono). How do I chan [More]
Hey guys, there are some hot discussions over battery life in MBA 2013 with i7. I personally own one and I can say that 12 hours is nothing close to the truth. Battery life can reach that long when WiFi is turned off, but web browsing is the most bas [More]
Since adobe reader updated to X, it has not worked correctly. It will run for about 10secs then will give "Not Responding" message and screen will turn translucent white (or gray). My operating system is vista, the reader version is 10.1.4. I've [More]
Hi SDN Gurus, Is there any table that stores all the details of all the transports in Import Queue (STMS). I am mainly interested in import time and method execution time of the transport. I need to write an ABAP program that for calculating the time [More]
I have found similar threads to this, but not quite the same, AFAICT. I'm trying simply to see if an INI file exists, so I created the following snippet: I also created a small file, put it in my C:\ directory, which I have attached here. When I run [More]
I need to update my OS to the latest version but I get an error message when I try by computer. Any suggestions?Which error message? Please clarify which model you have and which version of iOS You have?Read other 3 answers [More]