Page 1 of 1

update link

Posted: Tue Nov 15, 2011 4:02 pm
by kmcrae
hi,



in the script "update link"



if($error == null)

{

try {

var theLinks = app.documents[0].links;



for (var i = 0; i < theLinks.length; i++)

{

theLinks[0].update();

}

}

catch(theError) {

app.documents[0].close(SaveOptions.no);

$error = theError.description;

}

}



I want this script search in the specify path.



Thanks!