EXPORT Pdf without replace of old?

I want to do what the title says.  * On save, export a PDF file "Smaller file" without crushing IT *.  Basically if I save «JOB» 3 times it would be Job1, Job2, Job3 etc...  But I would like to happen to all Documents not only the Active Document.  I can get this to work for the FILE 'ACTIVE' if it is a script in itself when I add it to the startup script, it doesn't work.

#targetengine "AutoStartScript" 
   
//Event Listeners     
    app.addEventListener( "beforeSave" , doTextFrameOnPageOne );  
    app.addEventListener( "beforeSave" , doZeroPoint );
    app.addEventListener( "beforeSave" , doChangeSave );
    app.addEventListener( "afterOpen" , doZeroPoint );
    
    
    function doChangeSave()
    {
       app.documents[0]; 
       preset1 = app.pdfExportPresets.itemByName("Smallest file size");     
    if (!(preset1.isValid)){     
        exit();     
    }   
       
    
    mDocName = d.name.substr (0, d.name.lastIndexOf('.'));  
    mSourcePath = d.fullName.parent.toString();  
    mRootPath =mSourcePath.substr (0, mSourcePath.lastIndexOf('/Volumes/PPG/z-z MISC STUFF/INDESIGN SCRIPTS/Running CHanges/'));  
    mTargetPath=mRootPath.concat('/Volumes/PPG/z-z MISC STUFF/INDESIGN SCRIPTS/Running CHanges/');  
    var i = 0   
    mNamePrint = mTargetPath.concat(mDocName,'_Changes'+(i+1));     
     
    if (!d.saved){     
        d.save;  
    }      
      
  
  d.exportFile(ExportFormat.PDF_TYPE, new File(mNamePrint), false, preset1);     
}

Someone already answered this...

Using the export Script.

Tags: InDesign

Similar Questions

  • Export pdf without transparency

    Hello

    I need to export a PDF from Indesign CS5 for a print magazine. They ask me now, don't use transparency. But I used some shadow and the effect on my text that I want to keep. Is it possible to keep my effect and give a pdf without transparency. Do I have to iron out some element with other software.

    (I export PDF v1.3 as requested by the magazine).

    Thank you

    Use THAT PDF/X-1 has predefined, which exports a flattened PDF CMYK.

  • Export PDF without "show after export?

    Hello

    I guess I use Batch convert from Peter Kahrel- script for InD export as PDF presets. (Im unable to check, because im behind a firewall) and I do not have my ipad autour.

    As I couldn't save the 'Show after Export PDF' in my "Preset" (his gray out), a large amount of PDF opens in acrobat when exporting.

    How can I avoid this?

    Im not really to understand the syntax of JS, but I guess I should add a parameter to this line:

    doc.exportFile (ExportFormat.pdfType, file, false, selectedPdfPreset);

    Can someone help me?

    Bildschirmfoto 2013-09-12 um 08.45.17.png

    Bildschirmfoto 2013-09-12 um 08.41.22.png

    Correct syntax:

    app.pdfExportPreferences.viewPDF = false;
    

    Hope that helps.

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • Export PDF freezes InDesign CS5

    I'm having a random freeze problem when you export a PDF file in InDesign. I export the file and it goes in background processing. I try to close the file and InDesign said that the background operation still works and that I can not close the file. I have check the background task window and the PDF is still of the distillation. I let it go for about 30 minutes and nothing happens. The footprint of the PDF file shows 0. InDesign won't let me stop the process in background window (or at least when I click on the 'x' nothing happens), and the only way I can get out is to force InDesign to quit smoking. When I re - open the file and try again, InDesign exports PDF without problem.

    This happened with 2 different types of files in the last day. First time was a magazine page... 50 pages have been'd up queue to export files PDF and stops the whole process on a single page. After an hour or two, I had to leave the force and start over, and all exported without any problem. This most recent gel was a stand-alone file of relatively small ads. Both times there were no errors before the indicated flight.

    Someone else has this problem and is there something I could do in addition to the strength to quit smoking?

    Thanks in advance for your help.

    Susan

    Record: CS5, MacBook Pro, OS 10.6.7

    http://InDesignSecrets.com/a-new-workaround-for-that-pesky-background-export-issue.php

    Bob

  • I use two different versions of Firefox for two different employers - how to install the new version without losing an old?

    An employer requires that I use Firefox 3. The other requires that I use the most recent version. How to install a new version of Firefox to another path without overwriting the old version?

    The best way to have a version be an installation of Firefox Portable. The mobile facility is autonomous and will not affect your installation of Firefox "ordinary".

    http://PortableApps.com/apps/Internet/firefox_portable

    Otherwise, you will need to set up a profile specifically for version 2 and make sure the correct profile is launched in each version.

    http://support.Mozilla.com/en-us/KB/managing+profiles

    http://KB.mozillazine.org/Shortcut_to_a_specific_profile

    Overall, you are probably best to replace your current version of Firefox 3.6.25 with Portable Apps - http://portableapps.com/apps/internet/firefox_portable/localization#legacy36 - version and install Firefox 9.0.1 that your installation "regular".

  • How to replace an old time with a new Capsule?

    I am replacing my old Time Capsule (version 2008, 1 TB) with a new one (2016 2 TB).  How can I go about without screw it up?

    There is an option in the configuration... Plug the new TC on the network... TC WAN in all that is the current main router. If it's the old big TC.

    Open your Mac and go to the airport utility. (Your Mac must be Mavericks or later)

    Click on other WiFi devices (1) in the upper left corner... It will start the installation wizard.

    The wizard will choose the wrong thing... to extend the old TC's wireless... Do not worry.. Click more options at the bottom left.

    List of other Options choose, replace an existing device.

    The rest works basically automagically.

    The new TC will take the old values of TC... the old TC will be given factory.

    The end of it you will say to remove the old TC and plug the new TC in its place... voila... piece of cake... walk in the Park.

    You can then determine what you do with your old TC.

  • Write several bays in one xml file at different times without overwriting the old file?

    Hi my name is Dustin,

    I am new to labview and teststand... I try several tables of data in a single XML right. I can do this with a cluster but I need to create a variable for each of these pictures (21 pictures) and I was hoping to use the same variable for each table. Which means that I get my data table write in an xml file and replace this table in this variable with a new table and then call my VI who writes this table in an xml file and write to the same file xml under the first table without crushing. My VI I created to write a table to an xml file is attached. Yet once I wonder if there is a way to write several berries in a single at different times xml file, without overwriting the old file xml.

    Thank you

    Hi dlovell,

    See the attached example. I think he can help you.

    Kind regards
    Nitz

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • == CORRECTION of == how restore a registry saved without replacing the current One files

    ========================
    ==========FIXED==========

    ========================

    How can I restore A saved Registery without replacing the current One files

    --------------------------------------------------------------------------------------------

    Hi I have recently Updraged to Windows 8 then ERROR HIT and reinstalled 15 times

    And then downgraded back to Windows 7 I took all my files off .old, and then I

    need of my registry because all my games that I forgot the key to most of them his wondering just im

    because I just inport the right .reg to the registry, then it says cant traore explorer.exe and then restart I get

    0xc0000004F and theni reinstalling agen, agen, agen

    ================

    | what im saying here is. |

    ================

    can I insert a registery .reg without replacing the existing files to avoid fatel errors / crashes

    and I have manny stuff just to reinstall

    Hello

    1. where exactly did you go to the back-up and you try to restore?

    2. you try to restore the backup after re-installation of the operating system?

    This operation is not valid; When you reinstall the operating system, you will not be able to restore the registry backed up to the old operating system. And you can not do this without replacing the existing files.

    Import the registry can only undo changes that you have made.

    For more information, see the article:

    Back up the registry

    http://Windows.Microsoft.com/en-in/Windows7/back-up-the-registry

    Hope this information helps.

  • Overview of the issues when exporting pdf from InDesign

    Hello

    I'm working on PC, Windows 7, InDesign of CS5. I had several problems with executives of color filled not appearing is not in the preview of an exported pdf file, different file, same problem. The files 'prints' very well. For example, I have a page that contains a logo, two lines of text in the Arial font, two photo .jpg (CMYK) and a background color solid process. When I export to PDF (I tried all the options available to me) the colorful background does not appear in the preview. I can send this file to the printer and it prints exactly as set upward in InDesign. I also systematically deleted each item separately and re-exported the same results each time. I even deleted everything on the page with just the colorful box. Same result. I did drag the elements on a page in a new document. Same result.

    Thoughts? Does anyone else know this? I looked for further discussions on this topic, but couldn't find one just like her.

    Thank you!

    one

    Blow of dagger in the dark here...

    Check your Acrobat preferences under the Page display and do not forget the large images are enabled, and under accessibility and make replace safe colors is not.

  • I have indesign CS5.5, no subscription. I need to try a new version, but I don't want it to replace my old version. If you are running a trial version, you can always keep your old version? I don't want to start my trial unless I kno

    I have indesign CS5.5, no subscription. I need to try a new version, but I don't want it to replace my old version. If you are running a trial version, you can always keep your old version? I don't want to start my trial unless I know that I can keep the other oldest. Thank you

    Yes, you can run the test without changing your existing installation of CS5.5.

  • Export PDF in different size while maintaining hyperlinks

    Hello

    my client asked export document format A4 A5 size letter size (so the source A4). So I need 3 different exports of the schema source A4. It seems to me, that humans are capable of landing on the Moon, but resizing PDF seems to be much more complicated...

    1. I know that there is this option print in Id, where I can export PDFS in different size (why the hell that's not possible in the Export PDF dialog classic?). I tried, but this way of 'print' kills all my links created manually (about 800 of them in all of the document).
    2. I can change the document. But in the case of A4 > letter y at - it somehow how just increase the size of the artboard and keep the work without scales right in the Middle? (And keep hyperlinks, of course...)

    So my question is: how to export in different sizes and maintain hypertext links?

    Thank you!

    You can not.

    Never use print to create a PDF file, avoid postscript, which means no EPS, but also without the creation of Distiller or PDF by printing.

    It is said of Villa.

    If you create a PDF file via the export only you can use the URL. (Often URLS work in all cases such as Acrobat and Reader are detecting those automatically the text, but often not correct.)

    Normally, you can place an INDD or PDF/X-4 file exported in other INDD files links als, they are treated as PDF images. But images can never transfer the interactivity in InDesign when they are placed there. If you lose these Interactivities.

    But why your client will have live links in all sizes? The user will not open all sizes and use it on screen. I would recommend to strengthen links in the original which must be the version that gets the user on the screen. Other sizes can be done via the placement of the INDD or PDF/X-4 files (with bleed.)

    Is what you you should interest you, if you use a smaller file, your resolution should be at least the square root of 2 higher for each step you want to increase the file. Let's say the original is A4 and you want to jump up to the A3, you need 1.41 × 300 ppi or A2 will be 2 × 300pp. Conversely, when you place it in a smaller provision, you must increase the purge. If the bleeding is 3 mm in the original A4 and you want to place in an A5 available in A4 minimum purge must be 1.41 × 3 mm, with A6 2 × 3 mm. (for output you can use another bleeding in the export that you configured in the configuration of the document).

  • Dimensions of the exported PDF

    Thanks to anyone who can help me with this.

    I designed a standard header 8.5 "x 11" (actually 10.98 "per the specifications of the printer) in InDesign.

    When I export to PDF, bridge shows the dimensions of the document to be 648 x 827, which leads me to think the file exported to 72 dpi.

    The printer's specifications indicate 2551 x 3295 must be file format.

    I feel I'm missing something basic but have no chance of research here and not elsewhere online.

    Any help/advice would be most appreciated.

    Thank you!

    Patrick

    A PDF without a resolution. Open it in Acrobat to check the dimensions.

    Bob

  • Print to PDF without having to enter the name of the file

    Hello

    I need to print (NOT of EXPORT) to PDF without having to enter the name of the file manually.

    Any ideas?

    See http://forums.Adobe.com/message/5224900#5224900#5224900 for more information

    Thank you Trevor

    straight form indesign, do not think you can. But if on windows, you can try with this: http://www.autoitscript.com/site/autoit/

  • Replace an old file with another update

    I'm new to legacy, but I think I saw how to do this somewhere...  After importation and use of an illustrator in an animation file, I needed some items display in the file. Is there a way to import this updated file and replace the old file.

    When you replace the old file with the new only the new file keep all animations and effects applied to the previous file?

    Or this option does not even exist?

    Also does make a difference if you have imported the file as a composition vs images?


    Thank you.

    There are several ways to do this:

    1. Close AE, edit your .ai file without adding all the new layers and then reopen AE
    2. Select the .ai file in the project Panel, and then choose Edit Original in the menu
    3. Edit your file .ai with AE remains open, then select the file in the Panel of the program to the layer that you have changed and right-click and choose reload file
    4. Finally, do a completely new .ai file import as a model, then replace the layers in your comp by pressing the alt/option key and do drag the layer previously selected in the timeline panel.

    If you need more do let me know.  I'll try and answer the computer instead of my iPhone.

  • Error when saving the file cannot click to replace an old file

    I have a ploblem when I save my file, when you use older versions of mac os (max os x) when I save file and you want to replace the old file I just click in the file I want to replace and save, but when I update to macOS Sierra I can't do when I click on file it does not change the name and I have to type.

    This is for me a great void in the Sierra of Macos, it drives me crazy

Maybe you are looking for