0 Replies Latest reply on Sep 23, 2011 2:04 AM by ChrisDeBruyne

    [CS4 server] [JS] packageForPrint duplicates Links in Links folder

    ChrisDeBruyne

      Hi all,

       

      I'm using JavaScript to create a package from an indd file on a InDesign server wich runs on Windows XP.

      When the Document.packageForPrint runs multiple times for the same file, and thus the same package folder, it looks like it keeps track of previous versions by adding _1, _2, _3, etc

       

      How can I prevent the package command from making these versions or duplicates?

       

      I call them duplicates because this happens for all links, wether something has changed in them or not.

       

      example :

      S12_PFLI_RAK_N_57063_A_2A-Z-2_13378.indd

      S12_PFLI_RAK_N_57063_A_2A-Z-2_13378_1.indd

      S12_PFLI_RAK_N_57063_A_2A-Z-2_13378_2.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13351.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13351_1.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13351_2.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13375.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13375_1.indd

      S12_PFLI_RAK_N_57072_A_2A-Z-2_13375_2.indd

       

      This offcourse makes the package bigger and bigger with each run.

       

      Anyone a solution?