Hi All,
I have this script to relink images to new name and path.
When I run this script select folder dialogue display again and again (match with doc links length). I mean if document has 15 links select folder dialogue display 15 times.
Can anybody please help me to resolve it. See below my Code:
var updatedLinks = myInddLinks[i].name.replace ("oldtext", "newtext");
var myFolder = Folder.selectDialog("Select the links folder", "");
var getLinks = Folder(myFolder).getFiles (updatedLinks);
if (getLinks.length == 1)
{
myInddLinks[i].relink(getLinks[0]);
}
Thanks,
Mon
North America
Europe, Middle East and Africa
Asia Pacific