Name Exported PDFs with a filename generated from text frame on page

Does anyone have an idea how to do the following? We are on InDesign CS5 on a Mac running OSX 10.6
We are plan on creating a document of say 100 pages. On each page will be a photo of a product and some text frames. In one of the frames will be the product's SKU code - which we will enter manually.
What I want is that we can then export each page as a separate PDF and the filename of each PDF will be taken from the SKU code present in the text frame with .pdf appended.
Has anyone done something like this?
Thanks

Ask in the Scripting forum... InDesign Scripting

Similar Messages

  • Name Exported PDFs with text from a frame on each page

    Does anyone have an idea how to do the following
    I plan on creating a document of say 100 pages. On each page will be a photo of a product and some text frames. In one of the frames will be the product's SKU code - which we will enter manually.
    What I want is that we can then export each page as a separate PDF and the filename of each PDF will be taken from the SKU code present in the text frame with .pdf appended.
    Has anyone done something like this?
    Thanks

    Ask in the Scripting forum... InDesign Scripting

  • Exporting PDFs with document filename

    I am new to InDesign scripting and I'm am trying to edit the Adobe ExportPDFWithPreset.jsx so that it will just name the PDF export the same as the InDesign file name. Currently it just names it ExportPDFWithPreset.pdf. How would I go about doing that?
    //ExportPDFWithPreset.jsx
    //An InDesign CS6 JavaScript
    //Shows how to export as PDF using a given PDF export preset.
    main();
    function main(){
        mySnippet();
        myTeardown();
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
              if(app.documents.length != 0){
                        if (app.activeDocument.stories.length != 0){
                        else{
                                  alert("The document does not contain any text. Please open a document containing text and try again.");
              else{
                        alert("No documents are open. Please open a document and try again.");
    //<snippet>
    function mySnippet(){
              //<fragment>
              var myDocument = app.documents.item(0);
              //The document.export parameters are:
              //Format as (use either the ExportFormat.pdfType enumeration
              //or the string "Adobe PDF")
              //To as File
              //ShowingOptions as boolean (setting this option to true displays the
              //PDF Export dialog box)
              //Using as PDF export preset (or a string that is the name of a
              //PDF export preset)
              //The default PDF export preset names are surrounded by square breackets
              //(e.g., "[High Quality Print], [Press Quality], or [Smallest File Size]").
              var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");
              myDocument.exportFile(
                        ExportFormat.pdfType,
                        File(Folder.desktop + "/ExportPDFWithPreset.pdf"),
                        false,
                        myPDFExportPreset
        //</fragment>
    //</snippet>
    //<teardown>
    function myTeardown(){
    //</teardown>

    Hi,
    have to replace this line:
    File(Folder.desktop + "/ExportPDFWithPreset.pdf"),
    by:
    File(Folder.desktop + "/" + myDocument.name.replace("indd","pdf")),
    enjoy

  • Is it possible to generate PDF with "enable for commenting" from AI?

    I am using Illustrator CS5 and have Acrobat 9 Pro on a Mac. I would like to generate PDF's with "enabled for commenting" feature on.
    I was able generate a PDF from CS5 -> open it in Acrobat 9 Pro -> enable commenting -> Save as new PDF
    I prefer to skip the above mannual step and generate the PDF with commenting enabled directly from Illustrator. Any ideas?

    Acrobat 9 Pro doesn't support batch processing to "enable for commenting" feature. I can batch generate the PDFs from AI but will have to manually convert each PDF using Acrobat 9 Pro....(sucks!!!)
    Another option is that I get a Acrobat 9 Pro for Windows - install LiveCycle - tranfer my AI generated PDFs (mac) to windows and use batch processing feature of LiveCycle to convert the PDFs into "enable for commenting" (sucks less!!!)
    I would love to hear any other option available.

  • Exporting pdf with spot colour

    Hi, Im having trouble exporting a pdf with a spot colour from ID. Just one part of my logo is showing as thicker once its exported. I can place in the exact same artwork but using a CYMK colour and the thick shape doesnt show. does any one know why this is happening? Im placing an ai. file.

    I'm not convinced that has anything to do with the presence of a spot color. Assuming you are viewing the PDF in Acrobat (or Reader), have a look at your Page Display preferences under Rendering. If "Enhance thin lines" is ticked, un-tick it and see if that makes the thick I go away.

  • Export PDF, JPG or PNG images from the mapviewer

    hi,
    I need to export PDF, JPG or PNG images from the mapviewer (Oracle Map client).
    How Can I do it?
    Any Ideas?
    Thanks.

    What I do with xml after calling getMapAsXML function
    Any example?There is a request page in the mapviever configuration webpages, there you can send it to the server and get the image in return.
    or you can write your own programm to send it to the mapviewer servlet using post and progress the response by yourself. Have a look at the mapviewer documentation pdf, there are some examples on the different possible different xml requests.

  • Error "Failed to Export PDF" with big image on CS6 (32) and CC (64)

    Hi everyone,
    I'm on indesign CS6 (v8.0.2) and when I try to export pdf with a very big image ( *.tiff, 25000*35000 pixels, ) , the action failed with this message :" Failed to export a PDF".
    To be sure that there is no any corrupted elements, I made a very simple layout (one page , and just one element for my image,I turnoff prefilgth and all  ressource intensive options, and export with no downsampling or resampling) and try to export with different size image:with 20000*30000 -or smaller -image the export works, always failed with image .The export failed to in scripting mode.
    If I diveded my image in four , the export works but this solution is not convenient (I actually made tests for a fully automatised process, and we want to be sure that the indesign  component is  enough "safe")
    I try the same action with an evaluation version of indesign CC 64 bits (v9.2) and have the same behavior.
    I can imagine that there is a memory issue there, but my config seems to be strong ( windows server 64 with  16GB ram, DD with more than 100GB free). I don't undersant why-in a "full" 64 bit environnement- it is not possible to manipulate and export very large image ?
    I'm wonder If the background task is a part of the problem, and if it 's possible to disable it in CS6 or CC as in cs5 ( creates an  “DisableAsyncExports.txt” file in  Adobe InDesign executable directoty don't seems to disable it  in CC or CS6).
    Thank you for your help and good ideas..
    DC.

    this is a .tif (not a "big"tiff) compressed in LZW or ZIP.
    I just tried with another format (png), the error is the same...

  • URGENT ! JDEV 10.1.2 Problem with data control generated from session bean

    I got a problem with data control generated from session bean which return a collection of data transfer object.
    The dto's seem to be correct. The session bean load correctly the data into and the object's are plenty of data. Using the console to display the dto content is ok.
    When generating a data control from this session bean and associate the dto included in the collection only the first object level and one-to-one dto object are correctly setted in the data control. Object that represent collection into the dto (one-to-many foreign key) are setted as collection with an iterator but the structure of the object is not setted. I don't know how to associate this second level of collection with the dto bean class to obtain the attributes definition.
    I created a case with hr schema like the hrApp demo application in the tutorial with departments and employees table. I got the same problem.
    Is it a bug ?
    It exists a workaround to force the data control to understand the collection data structure ?
    Help is welcome ! this is urgent !!!

    we found the problem by assigning the child dto bean class to the node representing the iterator in the xml file corresponding to the master dto.

  • The way to open 3D pdf with specific model selection from url link

    I guess this feature is not supported, but let me ask one thing.
    I am looking for the way to open 3D pdf with specific model selection from url link.
    For example, if the following link is opened, is it possoble to open 3d.pdf with automatic selection of "abc" model in the model tree? 
    http://example.org/3d.pdf#model=abc
    If it can be done by javascript, it's really helpful.

    Impossible. There are only very limited command-line options for the Acrobat Family and you cannot change them.

  • How to export PDF with Bookmarks from Headings?

    Does anyone know if it's possible to export a PDF with Bookmarks (not internet bookmarks, but rather the Table of Contents in Preview.app bookmarks) from the style headings? Word 2007 does it with the Save to PDF add-on. Here is what i mean:
    http://img180.imageshack.us/img180/7883/word2007saveaspdfqz6.png
    Thanks!

    http://discussions.apple.com/thread.jspa?messageID=5827357&#5827357
    http://discussions.apple.com/thread.jspa?messageID=6072285&#6072285

  • How to export file with original filename number suffix, but with more digits

    Is there a way to keep the original filename number suffix, but change the formatting of the number, adding leading zeros for instance?
    When I import photos from my camera I like to rename them, and give them sequential numbers, e.g. "2015-01 Hamburg 1.cr2", "2015-01 Hamburg 2.cr2", "2015-01 Hamburg 10.cr2", .. "2015-01 Hamburg 134.cr2", and so on.
    Normally when I export photos I like to keep the file names exacly as I imported them (except the extension) e.g. 2015-01 Hamburg 1.jpg, "2015-01 Hamburg 2.jpg", .. "2015-01 Hamburg 10.jpg", .. "2015-01 Hamburg 134.jpg".
    But sometimes I would like to export them with leading zeros, typically when adding photos to a web site or blog where there are sort mechanisms that only support simple sort algorithms based on file names, meaning the sort order of my photos with their original file names would become "2015-01 Hamburg 1.jpg, "2015-01 Hamburg 10.jpg", .. "2015-01 Hamburg 134.jpg", "2015-01 Hamburg 2.jpg".
    So I would like the file names to be "2015-01 Hamburg 001.jpg", "2015-01 Hamburg 002.jpg", "2015-01 Hamburg 010.jpg", "2015-01 Hamburg 134.jpg".
    By keeping the original file number suffix I can easily go back to the original file whenever I need to, and the sort order would work even with simple sorting.
    The export Filename Template Editor gives quite advanced support for numbering files when exporting, see attached screenshot. There's support for exporting files with custom file names, and adding sequence, total and image number with padding (up to 9999/####). But those add new numbers, they do not consider the original filename number suffix. If I use the "Image # (001)" for instance, my example above would export as "2015-01 Hamburg 001.jpg", "2015-01 Hamburg 002.jpg", "2015-01 Hamburg 003.jpg", "2015-01 Hamburg 004.jpg", if those were the four photos I wanted to export, making it hard for me to trace them back to the original photo.
    I have found no way of adding such padding on the original file number.
    Does anyone know if this is possible or have suggestions for a workaround?
    It shouldn't be too hard for Adobe to support this I'd imagine.
    export pattern rename files  file_number filename_template_editor

    I do not know if you can do what you explained above, but there is a workaround to this (and a way to avoid having to do it in the future):
    In the Library module, make sure your images are sorted by Capture Date (this will put them in the right order, even with suffixes like 1, 13, etc.)
    Select all images, and then Rename them, using a Custom text followed by a Sequence number. The Custom text in this case should be the original name (such as, 2015-01 Hamburg, as in your example). Make sure the Sequence number is formatted with enough zeroes to include all the numbers in your images.
    In the future, when you rename images during Import, make sure you select the Sequence number format that will include all the needed zeroes, so you don't have to go through this again.

  • Export PDF with TOC

    If I didn't miss something important, it is currently impossible to add a table of contents (TOC) to the exported PDF that will show up in the sidebar of the Preview application. IMO Pages would be a great tool for publishing manuals and other documentation, but without a TOC in the sidebar, this is completely useless.
    Is there perhaps any sort of hack to get around this? (the files are XML, so this doesn't seem entirely impossible). Anyone know of plans that Apple might eventually add this absolutely needed feature?
    Andre

    Henrik Holmegaard wrote:
    This is sound, but it depends on what you are trying to decide. The trouble is that the everyday enduser expects content to be searchable, but below PDF 1.4 there is no support for content structure and even if there is support for content structure in PDF 1.4 there are plenty of preparation processes that produce non-searchable PDF 1.4.
    If - or should one say when - the operating system supports creation of searchable content instead of simply supporting Spotlight as a search service, there is still no list for these problems.
    Funny response.
    The PDFs generated from Pages are perfectly searchable. As far as I know, when we search in a PDF displayed by Preview, it's not Spotlight which does the duty. Same thing when the document is open with Adobe Reader.
    The missing feature is not the search tool, it is the TOC one. It's not a huge task (it was available in the old printToPdf pseudo printer driver under Mac OS 9).
    It's just missing because it is supposed to be useless for many of us. Is it really useless, is it really useful ? I don't know the response at statistically meaningful level.
    To be honest, when I saw that there are two paths to create PDFs from Pages, my first thought was:
    1 - Print in a PDF file generates a flat PDF
    2 - Export to PDF is able to generate one with a TOC.
    I was wrong but I didn't cry for that. I may live without this feature. Missing the search tool would be more annoying.
    Yvan KOENIG (from FRANCE dimanche 20 juillet 2008 19:55:27)

  • Exporting PDF with standard PDF/X-1b

    Hello All,
    We received the request from one of our client to generate the PDF with the standard 'PDF/X-1b', but while exporting the PDF from InDesign, we don't have this option, could you please check and advise how to meet this requirement?
    Thanks in advance,
    Praveen

    You should ensure that 1b is meant. I suppose it is a typo.
    If your client requires a CMYK, then 1a would be the correct version.
    You could ask for a joboption file. You can install it, open Acrobat Distiller and drag and drop the joboption file into the open Distiller window. This will install this joboptions for all programs with PDF export like InDesign too.

  • Exporting PDF with cropmarks

    I've got some artwork and  need to make a PDF with cropmarks from Illustrator 10.
    I add cropmarks using Object/Cropmarks/Make and that looks fine.
    But I can't get them into a PDF.
    If I "Save as PDF" or "Save a copy", the result contains everything EXCEPT the cropmarks.
    (Oddly enough PDF is not offered as an "Export" format.)
    I can create a PS file with Print command, and distill it, but that's rather tedious.
    Failing a way to export cropmarks, is there a simple way to convert them into normal lines, or do I have to redraw them by hand?

    Alan Sargent wrote:
    No, not in my version (10). I only see those mentioned under "Separation setup".
    Not sure about Version 10... but couldn't have changed that much..
    Your AI file:
    Save As
    Choose PDF from the file save options
    PDF save dialogue opens
    Choose the quality of the PDF files from the drop down at the top of the dialogue panel
    In the left panel of the dialogue panel / window there are options... look for the 'Marks and Bleeds' (or similar)
    In the options there, should be under 'All Printer's Marks', choose / select 'Trim Marks'
    That'll include the crop marks... Maybe the interface has changed a bit since version 10, but if you explore the options under the PDF saving panel, am sure you'll find them. Alternatively, try the Help...
    Edit: Further, i see from your attachment, that you have a bleed. You can set that under the "Use Document Bleed Settings'... make it about 3-5mm on each side... otherwise you'll get the crop marks without the bleed...
    BTW... how are you creating the crop marks? Hopefully the very base of the page (bottom-most layer) has a base colour to which you have added the crop marks from the menu?
    If none of the above works, wait for Jacob to come around... he still uses version 10
    Edit 2: If you see it under "Separations", check it there and see...

  • Cannot Export PDF with Hyperlinks and Bookmarks

    August 1, 2008
    Hi Everyone,
    I've recently upgraded to InDesign CS3. I opened a 40 page document that was completed in InDesign CS2. When I try to export to a PDF (with include hyperlinks and bookmarks) the program quits once it reaches the 5th page.
    I've tried exporting without hyperlinkes and bookmarks checked and PDFing works fine. I had no previous PDFing issues when working in CS2.
    Any suggestions/tips/guesses would be appreciated.
    Thank you,
    NB
    Windows XP
    InDesign CS V.5.0.3

    Hi! I need help w indesigns hyperlink...
    I am working on a long document and have 5 files, I was able to use hyperlink on each one that way the reader could jump fr one file (or page) to another. The hyperlink worked perfectly on PDF. Now I need to merge these five PDF's into 1 PDF file but the hyperlink that I have created on individual files doesnt work in a combined PDF. Is there a run-around on this? Any suggestions? I'm just new in indesign and need inputs. Thanks!
    Im using Windows XP and CS3.
    Nelle :)

Maybe you are looking for

  • How to activate Windows Server 2012 Datacenter evaluation version with product key provided on MSDN's student account

    Hi, I downloaded Windows Server 2012 Evaluation Version recently. Actually, I wanted to check whether i could run Windows Phone 8 emulator on Win server 2012 using my core2duo (Non-SLAT PC). Now i wanted to activate the evaluated version by using pro

  • Bulk Insert Failure: Unexpected end of file

    Hi all, I have a Bulk Insert task which pulls data from a .csv file to SQL server table. It works fine 99 out of 100 times, but sometimes it throws the following error in production. "System exception: An error occurred with the following error messa

  • [solved]Network fails to start sometimes

    Hello! I'm having a problem with my network. Sometimes it fails to start. Usually, a reboot solves this. Here is the error log: [root@claudia log]# cat errors.log Aug 6 03:16:28 claudia dhcpcd[3194]: dhcpStart: interface eth0 is not Ethernet or 802.2

  • Merge to HDR Produces Black Image

    When I open three images in Photoshop CS5 and execute the Merge to HDR process it results in a completely black image when using 16 Bit Local Adaption. If I increase the Gamma to 0.33 the image switches to white. Other modes seem to work but it is th

  • Engage Trial Installation Problem

    When I invoke my trial copy of Xcelcius Engage, It says: "Please enter your Xcelcius keycode" What is that? When I use the Installation key code sent in the introduction e-mail, it says Your Xcelcius keycode is missing or expired.