Copy link to clipboard
Copied
I want add TextFrame is link content to TextFrame 1 and allow auto update when save file.
I had try setting linkedPageItemOptions.updateLinkWhileSaving=true; But it not ok.
This is my code:
var doc=app.documents[0];
var txt_base=doc.pages[0].textFrames[0];
var oPage=doc.pages[0];
var oBounds= txt_base.visibleBounds;
for(var i=1;i<4;i++)
{
var page2=doc.pages.add();
var txt2=page2.textFrames.add();
txt2.contentPlace(txt_base,true,true);
txt2.linkedPageItemOptions.updateLinkWhileSaving=true;
txt2.visibleBounds=oBounds;
}
How can setting [Update Link when Saving Document] =True?
I had can setting [Update Link when Saving Document] =True by this script:
txt2.contentPlace(txt_base,false,true);
txt2.parentStory.linkedStoryOptions.updateWhileSaving = true;
Copy link to clipboard
Copied
I had try debug script and get: txt2.linkedPageItemOptions.updateLinkWhileSaving
But i can't and show message: The property is not applicable in the current state.
Copy link to clipboard
Copied
I had can setting [Update Link when Saving Document] =True by this script:
txt2.contentPlace(txt_base,false,true);
txt2.parentStory.linkedStoryOptions.updateWhileSaving = true;
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more