update link

Post Reply
kmcrae
Member
Posts: 23
Joined: Wed Feb 23, 2011 2:49 am

update link

Post 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!
Post Reply