PDF text 2 outputs?

I'm looking for a workflow solution where it took out of 2 PDF files, production and proof.

Basically, it's a pain in the hoop to create 2 files pdf every time.

I'm looking for is a way through the script to export in PDF format

Chooses currently open PDF (s)

Dialog box looks like:

PDF production

< select Joboption PDF >. < name of current file > | < location >

Evidence PDF

< select Joboption PDF >. < name of current file > | < location > | Add Filename [_xx]

Be great if the Script file is located in the current folder that is recognized.

Any help is appreciated.

As I understand it, so something like this should work.

With a document open, run the script. It will open a save dialog box that should by default in the folder of the current ID document.

Click ok, and it will export 2 copies of the document in PDF format, according to the predefined settings listed at the beginning of the script and a suffix attached on behalf of the second PDF file, as indicated at the end of the script.

// BS"D
// All rights reserved (c) 2015 by Id-Extras.com
// Free to use and modify but do not delete this copyright attribution.
// This script will export 2 pdfs of the current document
// Choose the PDF presets by altering their names below
// The second PDF gets a suffix added to its name.
// Modify the line below beginning name2 = to change the suffix.
// For more InDesign scripts: www.Id-Extras.com
d = app.activeDocument;
// Here you can choose the PDF preset
preset1 = app.pdfExportPresets.itemByName("[High Quality Print]");
preset2 = app.pdfExportPresets.itemByName("[Smallest File Size]");
if (!(preset1.isValid && preset2.isValid)){
    alert("One of the presets does not exist. Please check spelling carefully.");
    exit();
}
if (d.saved){
    thePath = String(d.fullName).replace(/\..+$/, "") + ".pdf";
    thePath = String(new File(thePath).saveDlg());
}
else{
    thePath =  String((new File).saveDlg());
}
thePath = thePath.replace(/\.pdf$/, "");
name1 = thePath+".pdf";
// Here you can set the suffix at the end of the name
name2 = thePath+"_xx.pdf";
d.exportFile(ExportFormat.PDF_TYPE, new File(name1), false, preset1);
d.exportFile(ExportFormat.PDF_TYPE, new File(name2), false, preset2);

Tags: InDesign

Similar Questions

  • Transform a PDF text in a Word text can be a pain

    Hello

    I am a French translator, I translate American and English scientific articles for a newspaper French.

    Transform a PDF text in a Word text can be a pain: diagrams are not kept in their form, for example, or columns (for the two-column text, which is very common in scientific publications) original, and I have to painfully reorganize or re - build diagrams and paragraphs. Any indication to reconnect with this difficulty? Thanks in advance!

    I'm afraid that you may need to reduce your expecations. PDF files contains no information as the columns, not same paragraphs, so all that.  You can just hope the document Word contains items to help you get started, but not translators must where possible be expected to obtain the original copy of the file and work with it, must work with a PDF file that is much more useful than a printed page. If the journal takes the PDF presentations, they did a lot of work for you. Consider again pages in InDesign by placing for the graphics, adding new text stream and retyping the text.

  • I have a no scanable multi page PDF text. I want to finish with a multipage PDF text scanable,

    I have a no scanable multi page PDF text. I want to finish with a multipage PDF text scanable,

    the only way I found to do it is via acrobat

    (1) open the PDF and save as on the other TIFF

    (2) combine TIFF in acrobat

    (3) text recog the newly combined file

    4) Save as PDF

    It works, but I is a tedious process of multi steps.

    I wonder if there is a way to automate this, so do not human intervention?

    Without human intervention?  Not with Acrobat.

    Be well...

  • How to make the PDF text field to be strikes do not copy/paste from previous text fields?

    Dear friends

    Helps to solve a problem related to the fields of PDF text, please

    Is there a way to make a PDF of the respondent, which ends of fields text to type own text not copy/paste of the previous text fields?

    Thank you very much!

    Copy the following code, used as key event custom field of your field, will prevent to enter more than one character at a time, which means that copy it text from an external source is not possible:

    if (event.change.length>1) event.rc=false;
    

    However, you can inform your users of this restriction, or they think that something is wrong with the file.

  • Alpha / Digital in a pdf text field

    How can I do to alpha alone or only numeric characters can be entered in a pdf text field?  I want the input size to be unlimited (I don't like the number of characters, as long as they are all either alpha or numeric.)  Any help would be appreciated.

    Use this as the custom for this field validation script:

    var alphaNumericPatt = / ^ [0 - 9a - zA - Z] * $/;
    Event.RC = alphaNumericPatt.test (event.value);

  • Form of PDF text field label

    Hello everyone.  I was wondering if there was a way to make a visible label in normal mode for a form of PDF text field.  I do my PDF form with a text box to fill in.  Well, I would like the name of the box appears when someone opens the PDF, not only if they go only in the view of the edit form.  I hope I'm making sense.  So far, the only thing I can think of is to do a button with the label above the text box to fill out or make the text to a drop-down list in the box area.  However, with a drop-down list box, I can not change how the text will display when it is typed in.  At the present time, although, when someone opens the PDF file, normally, the highlighted text to fill Boxing see the but not the labels with them even though I have names entered the name and ToolTip.

    Any suggestions?

    One thing you can do is set up a script to custom size for a text field that is:

    Custom format for text field script

    If (! event.value) event.value = event.target.name;

    This will display the name of the field in the field when the field is empty. The problem with this approach is that it is easily opposed using all built-in formatting that you can use (number, POSTAL code, etc.). You can always, but it takes more than script.

  • Using text input/output of Captivate Exhange

    I have used Captivate for the basics, but I'm looking to do more. I downloaded the Text Input/Output of Captivate Exchange files, but I can't find any instructions on how to apply. The idea is that you would be able to "capture an entry on a slide and post it on blades later.» The zipped download contains four files:

    textInput.fla
    textInput.swf
    textOutput.fla
    textOutput.swf

    My question is how to bring these to a piece of Captivate and use?

    Here is the link to download the files:

    http://www.Adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_US&EXTID=1253 021

    I just realized that the instructions are also on this page...

  • A single PDF document two outputs with slightly different content?

    I have a document unique indd. This document, I produce two PDF files: one for the use of screen with active links, etc. and one for professional printing (with purge, so it can be cut exactly).

    The document is a book that has an official ISBN number. But now the following happens. The version of the screen should have a different ISBN number than the printed version. So, in a few places, I need another string of text and in one place a different image (bar code) deoending on if I create interactive PDF or Print PDF output.

    This means maintaining two copies (a bore when changing the things), or change whenever I want to do a different output. Is there a way I can automate this? Say that I can say 'do screen version' and the ISBNs and bar code image is replaced and screen PDF product and "print" for the print version?

    Or am I obligated now turn my beautiful indd document in two book projects with all the trouble with index, paging, etc. that implies? I'd rather have a few replace automated some elements of text and an image that transforming the indd to a book, because I'm rather scared of all the problems of references and others that an extra layer of complexity of the document will bring me.

    If you include the bar code as object online ain that you can probably use conditional text to it as well - a condition to control both the bar code and text.

  • How to convert. DFIS to PDF using Adobe Output Designer

    Hi all

    I'm new to "Adobe output Designer. Could you please guide me how to convert .ifd files to .pdf format.

    Thanks in advance...

    Hello

    The .ifd is the design of simple model. You save the .ifd file. This model can be compiled with different objectives of presentation. Go File-> objectives of the presentation

    By choosing the target pdf presentation, you can compile your model in pdf. Now when you merge this with your data file a pdf file will be produced. You should spesify a folder to put your pdf file using e - z parameter in line of your project. If you now want to send this PDF as an attachment to the mail you will also need to spesify where to look for the file that is the same folder.

    You job line should then look like this:

    [[↑ EMPLOYMENT [model name] - z... \pdf\[file name] .pdf - emuser = [email account for the user] - OTEM = to emsub-= SUBJECT - emtext = [text]... \pdf\[file name] .pdf - afxon

    In order to avoid that the files in the \pdf folder will be replaced, you can use the u parameter to create a unique name like this z... \pdf\u.pdf

    Variables to and OBJECT can be populated in your data file

    Hope this helps

    Ståle

  • PDF - text printed AS a black bar

    When printing several pdf pages w/t graphic images and a part of the text is blacked out - right edge of the text printing line is just a black bar on the first printed page.  pages to print example 23-25 page 23 a the error only.  If printing pages 22-25 only page 22 the error?

    Question: on Win XP, PCL6 driver network P2055dn PDF files with graphics on the text of strikes.
    Solution: install "HP Universal Print Driver for Windows - Postscript.
    Question: the traditional installation mode will fail. Use the mode of dynamic installation instead.

    Turn on your P2055dn networked
    Google - "HP Universal Print Driver for Windows - Postscript.
    Will most likely be a better search result
    Next page under - "select your product" - select: "HP Universal Print Driver for Windows - Postscript.
    Next page under - Select 'Select OS': "Microsoft Windows XP".
    Next page under - Choose "select driver" - "universal Print Driver: 2 - HP Universal Print Driver for Windows PostScript.
    Next page: click on download
    At the end of downloading - using Windows Explorer run (double-click on) the downloaded just i.e., exe upd - ps - x 32-...
    Opens the dialog - "WinZip Self-Extractor.
    Browser for a un_pack_folder.
    Then click on Unzip (unzip)
    Opens the following dialog box - 'Install HP Universal print':
    IMPORTANT click "dynamic Mode".
    And then-> aura a bit.
    When you are finished opens 'my printer and fax folder '.
    Right click on "HP" universal of PS printing, and then click Properties.
    Opens the following dialog box - "HP Universal printing PS" (make sure that the P2055dn is enabled)
    IMPORTANT 1 Select 'add this printer to my printer and fax folder '.
    And then under, click "Find printer" - "search for a printer on a network.
    Should find "HP LaserJet P2055dn [...]" then select.
    Then in the "fax and Printers folder' right-click HP LaserJet P2055dn [...]
    Then properties, and then click Print a Test Page to confirm the installation.
    And possibly click to set the default printer.
    Then, restart the computer and print a PDF with charts to confirm the correction.

  • Cannot select part of a pdf text to mark it. Any solution? T

    I use Adobe XI. In some of my pdf files, I am unable to select parts of the text in order to mar them. Could be useful?

    Thank you

    Benjamin

    Hi benjamina55946049,

    Please see the following links that deal with the same issue:

    Why not highlight the work of text? (Edit PDFS)

    I am unable to use the tool to highlight in Adobe Reader X. Please suggest me some solutions.

    Cannot select the text block

    Thank you

    Shivam

  • Conversion 'image pdf text' to 'text' - for good

    I have a collection of size book of PDF documents that are 'text as image' (scanned). I'm trying to convert them to 'text' while one can open the PDF document generated with player and have "good text" in them.

    So far, I found how to change the text in the document, but that only seems to apply to the page I visit. If I export the document as 'text' to check what has been transformed from the image to the text, I get only the excerpts from the document. I also discovered how to make the text searchable image, but he keeps as 'picture '.

    What is the best way to achieve what I'm trying to do--that is to say, export a Word document modifiable with the decent text stream?

    In Acrobat using the text command recognize and select "searchable Image". That will keep your images as they are, but will insert an invisible text layer underneath (if the OCR process is successful, of course), you could search and export to other formats.

  • Convert PDF escaneado PDF text e imagenes

    Slow el text satisfait y mejoramiento digital, pero if escaneo a libro, no veo manera of as el fondo quédé blanco y is vean las imagenes y el una manera limpia como text if fuera a s digital document. Is esto posible? How?

    Gracias.

    Hi diegob59 ,

    Please see the links below which deals with the same thing:

    Analyze the documents in PDF, Adobe Acrobat format

    Scan paper to searchable PDF documents. Adobe Acrobat DC tutorials

    Let us know if you face any problem.

    Thank you!

    Shivam

  • PDF text unreadable

    I have no issue taking the below PDF. However, when I post online, the text becomes partially unreadable (see link below). I learned that it is related to Google Chrome PDF Plugin, which seems to be true that I have no problem with this in Internet Explorer or Firefox. A counselor or a workaround (which still uses Chrome) would be greatly appreciated.

    PDF Error.jpg - Google Drive

    1. it seems that if you run really Chrome. It's free and one of the most common browsers, you really might want to consider this.

    2. safety will have no impact on this. Sounds like an inability to replace fonts, not a "messing around with."

    3. I looked in Chrome and did not see a problem. Of course, I could have missed. I used the Chrome Version 52.0.2743.116 m in point 8.1 of Windows.

  • Recently in acrobat reader PDF text is of poor quality.  Before I updated to Windows 10, it was beautiful.  Help

    Recently the text on a PDF in acrobat reader is of poor quality.  Before I updated to Windows 10, it was beautiful.  Help

    Try to edit > preferences > page display > Rendering and try the settings next to "good text".

Maybe you are looking for

  • Notes, do not sync on the iPhone after upgrade

    After upgrading to IOS10.0.2 on iPhone no matter who has experienced problems with Notes is no longer sync with other devices?

  • problem against the USB port

    I have HP Pavilion 2301ax g6. but I'm tired of Windows 8...SO today, I install Windows 7 ultimate. ....I hv installed all necessary drivers...but... then also my USB PORT does not work... 1 port works, but is not another...but I m up to tgat sure the

  • Satellite L40: Vista will not open the docs Word XP

    I have a new L40 and were transferred from the old XP docs. The new L40 won't open word documents. Can anyone help? DaveM

  • Hypervisor Shared Memory Error Message

    Hi all I put in place a system of hypervisor using a SMU-1082 and SMU-8135. In the implementation (using the hypervisor Manager), there is no problem. However, when the system restarts in Windows hypervisor mode, I couldn't connect to the RT system.

  • Setup does not recognize connection to printer

    have hp photomart c4180, reformatted and cant install now.  running windows 7 64 bit and I tried several times to hp Web site to download and comes to where it says device plug and it does not recognize the printer.  gone through all the troubleshoot