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)
Sorry guys to bother you.
I have resolved this problem myself.