Hi Forum,
This is the one i have to alert the filePath of the links (links.everyItem placed in a document).
My intention is to "alert only the links which is not in a path" defined inside script.
try {
{
var theLinks = app.documents[0].links;
pathL= Folder("C:\\Documents and Settings\\Desktop")
for (var i = 0; i < theLinks.length; i++)
{
//theLinks[i].update();
if(theLinks[i].filePath.parent ! = pathL.filePath)
//{
alert(theLinks[i].filePath); // I want to get alert for the links which is not in pathL.filePath)
//}
}
}
} catch (e) {}
thanks forum,