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
repeat with oneFile in theFiles
tell application "Adobe InDesign CS4"
set user interaction level of script preferences to never interact
set myDocument to open (oneFile as alias)
tell view preferences
set ruler origin to page origin
set horizontal measurement units to inches
set vertical measurement units to inches
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
relink thelink to newpath
close myDocument saving yes