Hi,
Iam using the update() function in the Link class to update a dataLink in the document. But when I execute the update command, Indesign throws an
error ''Error String : update'' . Can any one tell me why this doesnt work?
Example:
function UpdateAllOutdatedLinks(){
var myLinks = myDocument.links;
for(var myCounter = myDocument.links.length-1; myCounter %26gt;= 0; myCounter--){
?var myLink = myDocument.links[myCounter];
?if (myLink.status == LinkStatus.linkOutOfDate){
myLink.update();
?}
}
}
Update Link function throws an error in...look at this thread
http://forums.adobe.com/message/1110095#1110095
robin
www.adobescripts.co.uk
Update Link function throws an error in...robin,
The code i have posted work perfectly well in CS3 but update() is not recognized as function InDesign cs4 throws error ''Invalid string''
thanks,
nataraj
Hi,
I have a similar problem using JS links.update();
I get no error but the method seems transparent. My link is not updated :-(
I use something like :
myLink.relink(File(xxx));
myLink.update();
and yet, I have to update manually the links in the UI.
I saw similar posts all around but none of the tricks I used from them produced any improvements.
Any ideas ?
Thanks in advance.
Loic
I use something like :myLink.relink(File(xxx));
myLink.update();
and yet, I have to update manually the links in the UI.
I saw similar posts all around but none of the tricks I used from them produced any improvements.
Any ideas ?
next bug ?
No comments:
Post a Comment