Unable to unlink .incx file???
hi,
i m trying unlink .incx file through javascript. tried this:
alert(app.activedocument.links.length);
alert(app.activedocument.links[0].name);
app.activedocument.links[0].unlink();
name of link , other properties accessible, function unlink() gets executed without error,
but operation not done. m able manually. , when link placed in actual location, unlink function works...
i couldnt understand problem, why m not able unlink thro code wen possible manually???
im using indesign cs3...
someone pls guide me....
thank you.
your code works me, assuming first link incx-file. possible reason text frame locked or on locked layer.
kasyan
More discussions in InDesign Scripting
adobe
Comments
Post a Comment