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
hi, I am testing the extractor 2lis_11_vaitm and there is no data in RSA3. i have checked the sales orders and there is data. please let me know what the problem may be. Many thanks EmilEmil, Here are the steps. 1) Use transaction LBWG to delete the [More]
 Hello, I have a HP S2031 monitor and I am looking to upgrade the old desktop pc.  There is one that I am looking at that has a GeForce GTX 750 graphics card.  The information on the card itself when I went to the NVIDIA site states   "NVIDIA G-SYNC [More]
I am trying to connect to a remote database which is installed on HP-UX from Windows-XP machine, as sysdba. 1. When I try to login from sqlplus system does not prompt for the password and gives following error: SQL> connect [email protected] as sysdba ERR [More]
I have Firefox in a Unix box. I need to update to the latest Firefox version for Unix. I can't find any. Is rev 3.6 available for Unix? any other?First make sure that you meet the system requirements for newer Firefox versions: http://www.mozilla.com [More]
Hi All, kindly suggest procedure to establish the interface between the TAS(terminal Automation System) and SAP in SAP SD delivery processing. i am furnishing details below terminal Automation System is third party software(legacy) which is used in l [More]
Such a little problem that is driving me potty! I have used an image as a link on a page I have built in Dreamweaver, but previewing this page in Internet Explorer shows that as I rollover the image, a fine border appears around it. Help! How do I ge [More]
Hi All, I am using B2B document editor version 6.6.0.2801 on Windows 7 32 bit. When i open any guideline the editor, i get the following error: One or more ActiveX controls could not be displayed because either: 1)You current security settings prohib [More]
I am working on an integration project. I have a war file that has many of the components that I need. In my new project (Sun Studio IDE), I am trying to call up a servlet that exists in this other war file. I can mount the war file as a directory, j [More]
Hi there. I had my day off today and have been viewing videos on youtube all day.   I had adobe pop up to say that I should upgrade to the newer flash version and I did this.  Afterwards I went back to youtube to continue watching the videos and now [More]
my ipod touch (5) ios6 has suddenly crash causing it not to switch off or switch on while i was opening the notification centerTry: - iOS: Not responding or does not turn on - Also try DFU mode after try recovery mode How to put iPod touch / iPhone i [More]