Update Missing links

I would to batch the process of changing document to inches & update all missing links, save & close. The images are located in a folder in another volume. The script is changing document to inches but it is not updating the missing links. In what part of the process I'm failing? I see --> error number -1708
set source_folder to choose folder with prompt "Select folder containing Indesign Documents"
tell application "Finder" to set theFiles to files of source_folder whose name extension is "indd"
set myFolder to choose folder with prompt "Select the folder containing the graphics you want to update"
tell application "Finder"
  set myFiles to every file of folder myFolder
end tell
repeat with oneFile in theFiles
  tell application "Adobe InDesign CS4"
  set user interaction level of script preferences to never interact
  activate
  set myDocument to open (oneFile as alias)
  tell myDocument
  --++++++++++++++++
  tell view preferences
  set ruler origin to page origin
  set horizontal measurement units to inches
  set vertical measurement units to inches
  end tell
  end tell
  tell document 1
  set theLinks to (every link whose status is link missing)
  repeat with i from 1 to count of theLinks
  set thelink to item i of theLinks
  set theName to name of thelink as Unicode text
  set newpath to (myFolder as Unicode text) & theName
  try
  relink thelink to newpath
  end try
  end repeat
  end tell
  close myDocument saving yes
  end tell
end repeat

anyone got any other ideas about why some of the picture links are being listed as modified? It's an exceptionally annoying quirk, for the last 7 days the links on a 40 page catalogue the links were all fine, this morning however on opening the document it listed over 100 of the images as modified when nothing has been done to them.
When I actually update the picture links in the links palette, in the details panel for the picture the modification date does not change after updating the links, it's the date that it was placed that does change - not sure if this will be of any help in trying to solve whatever's causing this issue, as mentioned above it's exceptionally irritating that it happens and is something that's putting other people off using InDesign over Quark as Quark doesn't seem to suffer this problem, and it would be worse if it happened on some of the other catalogues we do as they're 80 - 100 pages in size!

Similar Messages

  • Issue with missing links dialogue box

    When I open up an InDesign document that I've been working on recently several times a dialogue box has opened up asking to update missing links - all the links to image files are on an external drive connected to my Mac and none of them have been updated or altered in anyway or moved, all the links are correct and in place when the document was saved yesterday evening on my Mac's desktop so has anyone any idea why this message comes up? It doesn't happen every day but has happened quite a number of days, the list of links that need updating varies as well from as low as say 9 up to 248 which is nearly all the images in the document and it's a bit of a pain having to go through the document turning clipping paths off then back on so the images display correctly again!
    Whilst other people can and do access the external drive to access the image for their own documents they haven't changed or altered the images so there's no reason for them to show up as missing in InDesign, the external isn't turned off at night or during the day or unmounted at all either. The file was originally a Quark file converted into an InDesign one via Markzware's software, that apart I can't think of any reason why this message appears often? Anyone any ideas about it?
    TIA

    anyone got any other ideas about why some of the picture links are being listed as modified? It's an exceptionally annoying quirk, for the last 7 days the links on a 40 page catalogue the links were all fine, this morning however on opening the document it listed over 100 of the images as modified when nothing has been done to them.
    When I actually update the picture links in the links palette, in the details panel for the picture the modification date does not change after updating the links, it's the date that it was placed that does change - not sure if this will be of any help in trying to solve whatever's causing this issue, as mentioned above it's exceptionally irritating that it happens and is something that's putting other people off using InDesign over Quark as Quark doesn't seem to suffer this problem, and it would be worse if it happened on some of the other catalogues we do as they're 80 - 100 pages in size!

  • InDesign missed to update a linked InCopy

    Hello the following happened in a InDesign/InCopy-Workflow:
    We have several Editors and a view Designers. Everyone is working with PC (Windows XP) InCopy CS2 and InDesign CS2. The Files (incx and indd) are stored on a centralized filestore, so no copying is done.
    A Designer opened a Indesign file yesterday where several InCopyFiles are linked. This morning the editors made several changes on these InCopy Files.
    This afternoon the designer again opened the InDesign-File updated the linked articles and checked an article out to make some fine tuning and checked it in again.
    After that an editor regognized that his changes of this morning disappeared in the InCopy-File.
    Investigations at backup (hourly snapshot) showed:
    - that the InCopy had been stored with the content of the yesterday's InDesign-File.
    - that the editors saved there documents in a correct way
    Had anyone had such a problem before or does anyone know what the problem could be?
    Normally it should be impossible, I think. Nothing the less it happend at least once. (Maybe it happened before, editors mentioned lost editings three times over the last two years, but there where no snapshot available anymore, so we thought the editor missed to save or something like that)

    >Also, once InDesign crashes, it corrupts the file that was linked to the InDesign document that was being updated.
    Are you absolutely sure that it's not the other way around - i.e., that the linked file gets corrupted, which then causes InDesign to crash? I ask this because we recently had a client with a similar sounding problem. At first we also thought that InDesign was corrupting the file, but eventually discovered that the file server on which the links resided had some bad RAM which was causing the PSD files to occasionally get corrupted.
    Photoshop is apparently more tolerant of some corruptions than InDesign. When we'd open one of the problematic PSDs in Photoshop, we'd get a dialog box alerting us that there was corruption, but the file would open. InDesign, on the other hand, would crash VERY hard when placing or updating such a linked file.

  • How to Replace Missing Links in CS5 InDesign

    I received a message that there were 13 missing links in my document. How do I replace those links? I can see the locations of the missing links in the links panel but I am not sure how to get them back in the document.

    Hi Richl,
    In the Links panel, highlight the images you want to relink (shift + click to select a range), and click on the leftmost icon at the bottom of the panel (looks like two chain links). You'll be presented with a menu to locate your missing links. If the links in the panel show a yellow rectangle next to them, the link simply needs to be updated, and to do that you click the update icon at the bottom of the links panel.
    Hope that helps.
    Cheers!
    -Mikey

  • How to get rid of missing link dialog?

    Hello All,
    Here is the description of the problem I am facing..
    From the indesign document I am exporting some incopy files.I close the indesign document and then I relocate the incopy files to some other location.
    Now I again reopen the indesign file, while opening, the missing link dialog pops up which asks for either not to fix the links or fixing the links automatically.
    How can I do the same thing programatically so that the Missing dialog will never pops up.
    So here are my two requirements.
    1) How to relink the files programatcally
    2) How to get rid of the missing link dialog.(also what is the widgetID of this dialog.?)
    I posted this question before also but couldn't get the solution.
    I tried every possible way available in sdk
    i.e using
    IUpdateLink
    kRestoreLinkCmdBoss
    IInCopyDocUtils
    etc.
    But I was unable to relink the files as well as supressing the missing link dialog.
    Any help in this matter will be highly appreciated.
    Regards,
    Yopangjo

    Hi Emanuele,<br /><br />Here is the code..I put this code in Respond function.<br />Please also refere the   FileActionsOpenDocResponder.I also tried using the functions CheckLinkedStories and others.<br /><br />//code start////<br />InterfacePtr<IDocumentSignalData> documentSignalData(signalMgr, UseDefaultIID());<br />ASSERT(documentSignalData != nil);<br />if (documentSignalData == nil) {<br />break;<br />}<br />InterfacePtr<IDocument> doc(documentSignalData->GetDocument(), UseDefaultIID());<br />if (!doc) {<br />break;<br />}<br /><br />IDataBase * db = GetDataBase(doc);<br />InterfacePtr<ILinksManager> linksManager(doc,UseDefaultIID());<br />if(linksManager == nil)<br />{<br />return;<br />}<br />for(int32 linkIndex = 0;linkIndex < linksManager->GetLinkCount();linkIndex++)<br />{<br />UIDRef linkUIDRef = linksManager->GetNthLinkUID(linkIndex);<br />InterfacePtr<IDataLink> dataLnk(linkUIDRef,UseDefaultIID());<br />if(dataLnk == nil)<br />{<br />continue;<br />}<br /><br />UIDList linkUIDList(linkUIDRef.GetDataBase());<br />linkUIDList.Append(linkUIDRef);<br /><br />NameInfo ni;<br />PMString formatName;<br />uint32 fileType;<br /><br />dataLnk->GetNameInfo(&ni,&formatName,&fileType);<br /><br />uint64 size,time;<br /><br />IDataLink::StateType stTp = dataLnk->GetStoredState(&size,&time);<br />switch(stTp)<br />{<br /><br />case IDataLink::kLinkNormal:<br />break;<br /><br />case IDataLink::kLinkMissing : <br />case IDataLink::kLinkOutOfDate :<br />{<br /><br />//code for relinking.<br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br />if(relinkCmd == nil)<br />{<br />continue;<br />}<br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA); <br />if(relinkCmdData == nil)<br />{<br />continue;<br />}<br /><br />//Here you can hardcode the file name in place of dataLnk->GetFullName()<br />relinkCmdData->Set(db, linkUIDRef.GetUID(),&ni, &formatName, fileType, IDataLink::kLinkNormal,(dataLnk->GetFullName())); <br />CmdUtils::ProcessCommand(relinkCmd); <br /><br />//update the link<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br />if(dataLinkHelper == nil)<br />{<br />return;<br />}<br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />updateLink->DoUpdateLink(dataLnk, &newLinkUID );//kFullUI);<br /><br />//The program crashes here<br />InterfacePtr<ICommand> command(CmdUtils::CreateCommand(kRefreshCmdBoss));<br />InterfacePtr<IRefreshCmdData> data(command, IID_IREFRESHCMDDATA);<br />data->Set(GetDataBase(dataLnk), newLinkUID, IDataLink::kLinkNormal);<br />CmdUtils::ExecuteCommand(command);<br /><br />}          <br /><br />//code end.<br />(please check for any missing brackets.)<br /><br />Thanks and Regards,<br />Yopangjo

  • InDesign CC 2014 crashing when I try to update the links

    InDesign CC 2014 isn't responding after I updated the links.
    I replaced InDesign preferences, moved the missing links into the right file (instead of relinking).  The problem is still there and Indesign still not responding. I had to press CMD+ALT+ESC to force to quit.  Never had problems when I used InDesign CC and I'm experiencing a lot of trouble since I updated to CC 2014 version.
    I'm working on MAC.
    Any clue how to solve this?

    Hi Laneway,
    I can't reproduce that issue. Can we get more info? FAQ: What information should I provide when asking a question on this forum?
    Thanks,
    Kevin

  • MAC, CS2: File server migration problem/Missing Link/auto remap behavior.

    Hi,
    I'm just leaving a quite "trace" in case someone else get in similar problems and do a search of the forum, it's very technical and i'm also missing some information, so i wont make a special effort to make it easier to understand.
    We did a migration of a project from a OSX desktop station used as a server to a real OSX server (same root volume name, exact replication of the folders). Many of links in the indesign documents (not all) are missing.
    After trying a few things, including inspecting the links in a .inx export, i have discovered that the remapping mecanism (when a link is missing) doesnt work the same depending of the OSX version (maybe related to afp version?) and also depending of the Indesign version used.
    One of the case we have is a filepath that is encoded (in the inx file) using a "~sep~" in replacement of "_" (underscore) (documented, but very briefly in the inx specs documentation). It looks like the file was imported from a folder that was named "01_test" by exemple and later renamed "01-test" without doing the update in the indesign files.
    On our "old" serveur, the link with such encoded char is resolved without any error/warning (just like "_" would be the same as "-"), but on our new serveur the link are reported as missing. I did the same test using CS3 and the links are reported as missing using the old and new serveur.
    The new behavior of CS3 is better as it report adequately the change in filename (containing "-" instead of "_") instead of having a automatic remap (not working the same way accross different version of OSX) and also no commiting the change to the document (the remapping is not stored with the resolved link, the original link with "~sep~" is kept. One last odd behavior is that if we relink one path in a document, all the other links are resolved (on the new server) at document opening.. but if we unmount/remount the volume (restart indesign?), the link are still missing...
    I'm missing some information on the expected behavior of indesing missing link automatic correction, also related to afp version (spotlight indexing could be involved??).
    Currently i'm doing a log output of all the missing link to have a complete picture of the problem (in case the are other problems not related to the "_" and "-" in path name).
    Eric

    My apologies about the wall of text. After I made my original post, I thought maybe it would better to go back and put it in a pastebin instead. I was not able to edit that post once I sent it.
    In regards to your question, the  permissions on the
    /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist file is "read and write" for system, wheel and everyone.

  • Search for Missing Links in This Folder option not working

    I'm running InDesign CC 9.2.1, though this problem has persisted throughout the last few years and previous versions of InDesign. My operating system is OS 10.9.3. In early versions of InDesign, you could check the "Search for Missing Links in This Folder" option box when re-linking a missing link and the missing image would be highlighted in the finder window of the new image location. I did not keep track of what version of InDesign it was when this function ceased to work properly, but I would like to see if there is something I can do to make it work again.
    The "Search for Missing Links in This Folder" check box is still in the finder window, and is always checked, so in theory it should highlight the missing link/s in the folder it is searching in, but it does not. The example below illustrates my point. The InDesign document that I used to illustrate this was opened up and there were four missing links. When I select the missing link/s and hit the relink button at the bottom of the links palate, I navigate to the correct location of the link but the image doesn't get selected even though the "Search for Missing Links" is checked. The missing link it should have highlighted was 431-11 frontal.psd, which clearly exists at the top of the "Front Street" folder.
    This isn't a big deal when the folder contains four images. But when it has hundreds of links, it is a pain to try to find all of the links that are missing when the file name is often truncated, or it has an odd string of only numbers, etc. Just checking to see if anyone has any insight to this issue.

    I think the yellow alert triangle next to each link name means that you just have to update those links, by hitting the refresh button at the bottom of the link panel once all links are selected (it's two arrows in a circle)

  • Any way to update lost links?

    I have a file with many links in it. I have moved all of the links to various different folders on my hard drive. Is there any way for illustrator to AUTOMATICALLY search for and locate the linked files? It is a pain in the rumpola to have to manually search for and update each link. I should have organized the files better to begin with. It seems like AI should be able to search my hard drive and at least find all of the files with the same name of the file that it is missing... Then I would just be able to click on the proper file and update it. Currently, I have to type in the name of the file manuall and search my hard drive. Doing this for hundreds of files takes way too long. Does anyone feel may pain? LOL  Are there any other solutions? Mac 10.6.8 / CS6

    Thanks for the tip, but I have many links spread across many different folders and drives. When those links get broken, it is a nightmare to try to locate and update all of the files. I would like for illustrator, or another program, to search through my hard drives and folders and find the missing links. However on my drives there may be mulitple files of the image with the same name. So it would be nice to be able to set a preference to find the either the MOST RECENT file, or to have a feature that would show me the various locations of linked files and allow me to pick one of those links. I realize that it might take some time for illustrator to search through everything to find the files, but it would be way easier than searching for each missing link manually. I don't want to have to type in the name of every file that I am looking for... I want the program to do that for me. Does that make sense? The program at willhouse.com does a good job, but doesn't have a preference to find the most recent file, or to allow me to find all links with the same name, and pick which link I want to use. Also, if you use wills program, then make sure you turn on all of your layers, and unlock all of your layers, before running his program.

  • Missing links warning... missing

    After re-installing my CS 5.5. Suite, I suddenly noticed that, while opening a document where some images were moved, that Indesign did not show its 'missing links' warning. After opening the file, the panel show the missing images with their usual question mark, but normally I get the warning immediately, tried rebuilding preferences, checked the preference menu, but it still does not show, any clues?

    All,
    A free update to Suitcase Fusion v16.0.1 will be available for download on Monday, August 5th. This issue has been addressed.
    Please let us know if you experience any remaining problems after upgrading.
    Cheers,
    Chris
    Extensis Font Management Team

  • Missing Links in InDesign CS3

    We are using InDesign CS3 and the program itself works good, the problem I'm having is all our data is located on a server and I have replaced the server with a new one, now when we open a document it has missing links and it takes forever searching for \\oldserver\pictures before popping up missing links where you then point it to \\newserver\pictures. My question is why does InDesign use the unc path and not mapped drive letters? Is there a way to fix this for future? Also is there anyway to fix previous short a fixing each and ever missing link? I see CS4 has the option to check links or not but I don't see any options for CS3. Any help would be appreciated.
    Thanks,
    Tony

    I'm not sure what that has to do with it? when opening up a documents it tries to resolve picture links the link pointing to \\oldserver\pictures (that server is no longer running) everything has been moved to \\newserver\pictures when the document finally opens you manually fix the links to point to new server save document then it opens fine the next time. I would rather have the links point to P:\Pictures as apposed to the unc path, the I wouldn't have this issue.

  • Not able to open a PDF file in Creative Cloud Illustrator. It shows missing links and so forth

    I'm working on CS5 and saving my AI files as PDF. This is all for print, I have created the outlines, and flattened transparency between an image I had placed in on the PDF. My CreativeCLoud AI is not able to open the PDF. It shows that it is missing links. How do I fix this?

    Provide the files linked to.

  • Is there a way to sort music by "missing link" indicator?

    I have hundreds, maybe thousands of files that are missing links. They are just duplicates from a poorly executed computer transfer but it will literally take me weeks to delete these one at a time. I need a faster method.

    Using playlist and smart playlist combination to isolate dead links for deletion - https://discussions.apple.com/thread/2085392
    Making a playlist with just broken link files - https://discussions.apple.com/message/17349970#17349970 - post by turingtest2 and https://discussions.apple.com/message/18359154#18359154 - post by Chris CA
    Temporarily use a unused tag for a particular media type to assign value, then sort to find missing tags - https://discussions.apple.com/message/21189667#21189667

  • Reinstalling Tiger: Software Update Missing Many Updates

    I've seen a few similar topics on this issue, but only in so far as Software Update missing an update here or an update there. I am currently reinstalling Tiger on a Power Macintosh G3 B&W that has been heavily upgraded. The system specs are as follows..
    1GHz PowerLogix G3 (using MAChSpeed to enable full processor speed since the included CPU Director software won't work in 10.4.11)
    1GB of RAM
    128MB Radeon 9200 Graphics card connected to an LG 1952 display and set to 1440x900 / millions of colors
    I'd go on, but the remainder of the hardware upgrades should have no effect on Software Update to the best of my knowledge. Previously I had this machine running 10.4.11, and through the Software Update program I had installed all of the recommended updates, which included numerous security updates, Safari 4.0.3, and iTunes 8.2.1. Everything was running perfectly smoothly, but after having tested several software configurations and having decided on one in particular, I set out to reinstall Tiger from scratch in order to keep things as clean as possible. I've tried several different times now with the same results each time. Once the system is up and running, regardless of whether or not I install MAChSpeed before or after running Software Update, Software Update simply does not provided all of the updates that I believe are actually there. It did see and did allow me to install the following updates..
    10.4.11 Combo update (I installed this one separately before any other updates)
    Java 1.3.1 and 1.4.2 Release 2
    iTunes Phone Driver 1.0
    Migration and DVD/CD Sharing Update
    Quicktime 7.6.4
    Security Update 2009-005 (PPC)
    J2SE 5.0 Release 4
    Java for Mac OS X 10.4, release 5
    [ditto], release 6
    [ditto], release 7
    [ditto], release 8
    [ditto], release 9
    Unless Security Update 2009-005 is meant to be a combined security update (doubtful), there are obviously several security updates that are missing. Also, I'm surprised that Software Update saw and installed Quicktime 7.6.4 but didn't see or install the latest PPC versions of iTunes or Safari. Safari 4.0.3 as I understand requires Security Update 2009-002, so naturally it would not see or install Safari without that update being installed first. While I don't necessarily mind installing updates manually (downloading them individually off Apple's support site and then installing by hand), I really prefer using Software Update to better automate the process. Up until now I have never had any problems with Software Update, but this problem is certainly aggravating. My primary concern is that I have no idea what updates are necessary and what updates are not necessary to ensure proper and relatively secure operation of my system, and I have no way of knowing whether or not Software Update will see any future updates (provided that Apple continues to support Tiger for a little while longer). If Software Update is missing crucial updates out of the gate, how can I be sure that it will see any further crucial updates that may hopefully be released?
    I know that's part question / part rant, but I've been wracking my brain for the past few days over this one. Any information that could help solve this problem will definitely be appreciated, especially since my B&W is my preferred browsing machine.
    Incidentally, my iBook, a Clamshell FW SE, is currently running the same setup that my B&W was previously running.. 10.4.11 with Quicktime 7.6.4, iTunes 8.2.1, and Safari 4.0.3, so as far as I can tell, this shouldn't be hardware related (my iBook is far less powerful than my B&W currently is). Also, a cursory glance at the Installed Updates list on my iBook definitely shows that my Software Update on my B&W is missing many updates.

    I reformatted the drive first and did a clean install. I'm currently in the process of downloading the standalone installers for Safari 4.0.3 and iTunes 8.2.1. It's looking like that's the solution at present, but I'm still curious as to why Software Update won't see any iTunes or Safari updates within the current system configuration's capabilities (speaking to both apps possibly being cumulative). I can't see Software Update simply not having those updates because there is newer version out, if indeed they are cumulative, since that would mean that anyone reinstalling or upgrading on an older machine would be forced to perform some of the updates manually where not too long ago they would have been able to simply use Software Update as a "one stop" solution.
    Oh well, maybe I'm just being too picky . I've had to deal with running around in circles to find software updates for manual installs for years with Windows systems, and Apple's "one stop" Software Update system was a wonderful, welcome change to that.

  • Win CSXS Infrastructure 3.0.2 update - download link needed

    Hello,
    I am restricted to manually updating Adobe Creative Suite 6.0 on my work computer and I cannot locate the Windows CSXS Infrastructure 3.0.2 update. I did locate the CSXS 3.0.2 Mac update. I tried Adobe support… The call-back service was not available, live chat directed me to phone support and I gave up after my 2-4 minute estimated wait time exceeded 45 minutes. Way to go Adobe support...
    If anyone could post the Windows CSXS Infrastructure 3.0.2 update/download link, it would be greatly appreciated.
    Thank you...

    For future viewers facing difficulty applying the CSXS Infratstructure 4.0.2 update please see Adobe CSXS Infrastructure 4 fails to install with U44M1P7 or U44M2P7 error - http://helpx.adobe.com/creative-cloud/kb/csxs-infrastructure-fails-u44m1p7.html.

Maybe you are looking for