Batch relink images in InDesign CS4

Hi all your InDesign wizkids.
I have a document with 800 image links that all have changed location and filename.
all instances have a product number as filename. They have now been changed.
so filename was eg. changed from --> to:
123456.tif  -->  1203456.tif
112233GB.tif  --> 1102233GB.tif
79657.tif     -->     790657.tif
13657NHZ.tif -->     130657NHZ.tif
The only change is that there have been added a 0 as third digit.
Also it would be cool to update path in same action to some/new/folder/to/file
It would be a major help if any one could solve this.
Best regards
Alexander

Thanks a lot.. it looks really good, but doesn't seem to work..
The ExtendScript toolkit just keeps running (15 min) on a test doc i made with 20 links.
What is wrong?
Was it possible to make script without relink, so i just do that from the linkspalette??
Here is script:
newPath = "smb://sql-srv/marketing$/Marketing/TOOLBOX/Pictures/PACKSHOTS/Charms/TIFF CMYK/"
myLinks = app.activeDocument.links
for (i = 0; i < myLinks.length; i++){
     var oldName = myLinks[i].name;
     var newName = oldName.slice(0,2) + "0" + oldName.slice(2);
     myLinks[i].relink(newPath+newName)

Similar Messages

  • "relink" problem in InDesign CS4: links are updated automatically

    Hi folks,
    we use a script to relink our InDesign documents when the links have been moved on the file system.
    Inside the script we just call link.relink(...) but not link.update().
    We experience a different behavior between CS3 and CS4 after the script has run.
    CS3:
    Links that have been modified after moving and before relinking are then shown as modified (with a yellow mark ) in the Links tab.
    CS4:
    The links are all shown as uptodate.
    Seems like the update()-function has been called automatically.
    Is there a option to just relink the links in CS4 but not to update them?
    Kind regards
    Matthias Vieback

    mahony2k wrote:
    Thank you for the help, Robin!
    Restoring everything after relinking would be as risky as the automatic updates. I would need a warning when the VisibleBounds have changed after updating. Maybe with an option to restore them one by one while I'm looking at the image which is being restored.
    Of course this can't be full-automat But there is posibility to define list of rules what could be done automatically in specified conditions.
    List of all linked images could look like this:
    (I'm sorry for old screen)
    Is it only for PC, because it would be a VBscript?
    It will be VisualBasic6 app compiled to exe.
    I can even do it as a "service" - so you can put INDD file in special folder (WatchedFolder) and script can analyze INDD file, make report and then you can decide "off-line" what should be done with "problematic" images.
    I think I can even make it with option to see preview of "problematic" images in report so you can make decision without opening INDD file. Then you can upload report with selected options back to WatchedFolder to finish "conversion".
    Even if you work on Mac - it shouldn't be a problem for you to use this tool - you only need to have one PC connected to your local network. To go further - on the same PC could be installed web server (Apache+PHP+mySQL) and you can controll everything from web browser
    robin
    www.adobescripts.co.uk

  • Relinking images in indesign

    Situation: Loads of indesign documents with links in various folders - numbered from 1-33
    Now all folders will be sorted in alphabetical order (without numbers). Any way to relink fast? Can I change the path in the relink tool in indesign - just deleting the numbers, som it will be easier to relink?

    Sorting folders named 1-33 in alphabetical order is only possible with numbers, because their names only consist of numbers. Else it would be renaming.
    However, no way to fast relink. Indesign finds all linked files within one folder, but not in the other. Better to not sort the images into 33 subfolder, perhaps just add the folder number 01...33 to the beginning of the file names.

  • Script to rotate an image in InDesign CS4 from an Excel Spreadsheet

    Hi all,
    Is there a script for InDesign CS4 that reads degrees from an excel spreadsheet and then rotates a specific image by the same amount of degrees that was written in this excel spreadsheet? I would like to create a column in Excel full of rotation degrees and then go to InDesign, run the script for a specific image and the image will rotate automatically.
    If there isn't a script like that already around, can you let me know if it is possible to be done and also if it is possible, can you help me create one please?
    Thank you in advance for your help.
    Lucas

    a script to rotate images... only one at a time and marijan tompa had the answer for that: http://forums.adobe.com/message/2998073
    as for referencing an excel file or txt/csv, i don't know, but perhaps other posters could assist.
    colly

  • Batch embed image in illustrator CS4

    I am working on about thousands ai files, each file have one image need to embed. My question is: Is there a way to embed the images at once? I usually open one ai files and select "embed image" in the links palette, is there a easy way to do this? Thanks!

    Thx Monika! I try your way on one file, it works! but I was not familiar with actions/script, I found a script named "Save as PDFs.jsx" under "Sample Scripts\JavaScript\Miscellaneous", so I replace PDF to AI in this script, does it works?

  • RELINKING IMAGES MANUALLY IN INDESIGN DOESN'T WORK

    Hello,
    Please help,
    I am opening an Indesign CS3 EPS image file in Indesign CS4 which is made by combining 2 Clipping path images. The problem is: I am not ablt to use the images manually. however, automatic relink works fine. Although I don't know where that option is. I just want to use manual relink.
    any suggestions??
    thanks
    Rachael

    I've seen cases where this "Mini Save"/ "Automatic Recovery" did not work at all.
    Rare cases, but:
    Always when the InDesign file is opened on a different computer and you are working on a network. And someone pulls the plug from that other computer (shutting it down, ignoring the messages that another machine is hooked)!
    SO: I would never rely or bet on the otherwise fabulous feature "Mini Save"/ "Automatic Recovery".
    There is a startup script around in the web by Martin Fischer somewhere on the site hilfdirselbst.ch, that saves a copy of the actual file in a special folder every time you do a "save" or "cmd + s" adding a continous number to the auto saved file name.
    Uwe

  • Remove back image while exporting to PDF (InDesign CS4)??

    Hi All,
    I have two images in my InDesign CS4 file and one image is hiding behind my second image. When I am exporting my InDesign file as Pdf and opening in Acrobat, Acrobat showing bottom image first and then showing my top image.
    Is there any way to remove my bottom image which is appearing behind in my top image while exporting to Pdf.
    I don't want remove manually because it happening with most of my InDesign file.
    Please suggest.
    Thanks
    Baljeet

    I would move bottom image to separate layer and then eventually I would switch it off.
    If you don't want to change anything in InDesign you can eliminate the second image in your already generated PDF.
    Open your PDF in Acrobat Pro.
    Advanced -> Print Production -> PDF Optimizer.
    You can leave only "Clean Up" check box marked (eventually Transparency if Acrobat will not allow you to switch it off). All the rest leave unchecked.
    This operation will remove hidden image.
    Correction: It will not remove the image. It just made the PDF to be displayed much more faster that is why the second image appearance was not noticeable. Sorry for the inconvenience.

  • Image text is missing in InDesign CS4

    Hi everybody,
    I am using InDesign CS4 with MAC OS X 10.5.8. I encountered a problem that the Text is missing in the eps image, when imported on InDesign document. Refer below screenshot.
    I have used “Times New Roman” Type1 font in InDesign document. And for images I have used the same “Times New Roman” as OTF font. Refer below screenshots.
    Type 1 fonts used in InDesign:
    Open Type Font used in Images:
    Here, I caught one more finding. If I save the image as Adobe Postscript as “Language Level 2”, I don’t have any text missing issue in InDesign document. But, if I save the image as “Language Level 3”, I found this missing text issue in the document. Refer below screenshots.
    Could anyone hlep me what the exact issue. Any help is much appreciated!!

    Yes Bob. This new thread was raised by me to explain the issue in detail.
    Further to my analysis, I found that when I load the job fonts in “Applications/Adobe InDesign CS5/Fonts”, we got this text missing issue. And the same job fonts, when I load in “Users/<user_name>/Library/Fonts”, it showing correct.
    Any thoughts?

  • Indesign CS4 really slow with CMYK images

    Can anyone help me solve this? InDesign CS4 document with a few pages, and approx 24 images on a page. With CMYK images imported the rendering and re-rending is very sluggish. The Processes shows 99% usage for InDesign. Makes it almost impossible to work on a document.
    Any ideas to fix this?
    I'm using an 27" iMac with 2.8 GHz Intel Core i7 - Memory: 8GB 1067 MHz DDR3

    Doesn't surprise me. I find getting help in Adobe forums/support/community very confusing to find my way around.

  • When I try to relink images in my inDesign CC Files, in Design becomes unresponsive.

    When I try to relink images in my inDesign CC Files, inDesign becomes unresponsive.

    Have you tried re-booting? Trashing the prefs? See Replace Your Preferences Exporting to .idml? see Remove minor corruption by exporting

  • Image import dialog box InDesign CS4

    The Image import dialog box has no "turn off" box to select after I turned it on to place a page in a PDF document. I am in Indesign CS4. How do I turn off this feature. It is showing the window now every time I import an image.
    Please help.

    There should be a tick box called Show Import Options
    File>Place and you should see it.

  • Generate images list out of InDesign CS4

    We have an InDesign CS4 document that had more images. Most of them have been reduced to some percentage to fit the page. I need to generate a report TXT/RTF format of the resized images alone. Kindly help me is there any script that had already to meet the requirement?

    I knocked this off for about 10 minutes, so it's totally untested. The script creates a text file on the desktop listing resized images in the active document and their scaling.
    Kasyan
    var kScriptName = "Generate list of resized images";
    if (app.documents.length == 0) ErrorExit("No documents are open. Please open a document and try again.");
    var doc = app.activeDocument;
    var links = doc.links;
    var counter = 0;
    var resizedImages = [];
    for (var i = 0; i < links.length; i++) {
         var image = links[i].parent;
         if (image.absoluteHorizontalScale != 100 || image.absoluteHorizontalScale != 100) {
              resizedImages.push(image);
    if (resizedImages.length == 0) {
         alert("No resized images were found.", kScriptName);
    else {
         WriteToFile("\r--------------------- Script started -- " + GetDate() + " ---------------------\n");
         WriteToFile(doc.name + "\n");
         for (var j = 0; j < resizedImages.length; j++) {
              var currentImage = resizedImages[j];
              var info = (j+1) + " - " + currentImage.itemLink.name + "\t" + Math.round(currentImage.absoluteHorizontalScale) + "x" + Math.round(currentImage.absoluteHorizontalScale) + " %\r";
              WriteToFile(info);
         WriteToFile("\r--------------------- Script finished -- " + GetDate() + " ---------------------\r\r");
         alert(resizedImages.length + " resized images were found.", kScriptName);
    //-------------------------------------- FUNCTIONS ---------------------------------------------
    function WriteToFile(text) {
         var theFile = new File("~/Desktop/" + kScriptName + ".txt");
         if ( theFile.exists ) {
              theFile.open("e");
              theFile.seek(0, 2);
         else {
              theFile.open("w");
         theFile.write(text);
         theFile.close();
    function ErrorExit(myError, myIcon) {
         alert(myError, kScriptName, myIcon);
         exit();
    function GetDate() {
         var myDate = new Date();
         if ((myDate.getYear() - 100) < 10) {
              var myYear = "0" + new String((myDate.getYear() - 100));
         } else {
              var myYear = new String ((myDate.getYear() - 100));
         var myDateString = (myDate.getMonth() + 1) + "/" + myDate.getDate() + "/" + myYear + " " + myDate.getHours() + ":" + myDate.getMinutes() + ":" + myDate.getSeconds();
         return myDateString;
    P.S. Written on CS3, Windows

  • How to import images from web via CSV in Indesign CS4?

    Hi,
    I am using Indesign CS4 and i want to import pictures from my homepage.
    I have a CSV export from a database with products and the url to the
    product picture. I want to import the information for the products and
    the picture via data merge. I added the @ in the name of the column
    where the url to the pictures is. Everything works perfect when I use
    a lokal path, but I need to get the pictures from the website.
    Is it possible to import pictures from a website via CSV data merge?
    What steps are needed for that?
    Would be great if you could help me.
    Best Regards.

    thank you all for your answers, that was what i thought.
    yes, it starts with http://domainnaime.... it's from an extern webspace
    then i will backup all pictures and put them in the local network and try over ip-address if that also won't work then I'll copy then locally
    altough, it would be great if it works via ip-address

  • Images shrink from Indesign CS4 to PDF

    I design ads at a set size in a frame in Indesign CS4. I just noticed that when I print them to PDF (regardless of the PDF distiller settings), they shrink. I have the print dialog box settings at 100%. Printing to a physical printer does not have this problem. How can I get 100% to mean 100% when I print to PDF? It has nothing to do with my art. I could just have a box frame, and it would shrink that.

    The original is 7.25 wide. The PDF is about 6.75 wide.(Height is proportional in both).
    I am not printing FROM PDF. I am printing TO PDF. The magazine production rep was the first one to notice how off the PDF file was. At first, I had created the page size to be the size of the ad. That produced an even smaller PDF of the ad on letter paper than after I recreated the ad on a letter sized page to begin with. It is still off by about .5 inch though.
    And if I do print from PDF, I am set to no scaling (not shrink or fit).

  • Indesign cs5.5 Applescript - Relink image

    Hi, currently we can relink images from our applescript by using the original image link name but looking to see if we can do if by script label name.  Is this possible.  Thanks, Joe

    You can't use a script label to perform a relink, but is that what you're really asking? Or are you trying to use the script label to identify the linked item you want to relink?
    Dave

Maybe you are looking for