Article View: adobe.scripting.indesign
Article #15267Re: [AS] place on last insertion point doesn't work if page overflows
From: Dave_Saunders
Date: Tue, 09 Dec 2003 14:52
Date: Tue, 09 Dec 2003 14:52
19 lines
1326 bytes
1326 bytes
What happens if you try without the properties? Presumably the variable myImg is set correctly. Ah, wait, you're saying This works as long as the insertion point is not overset. And, you're trying to deal with this by adding a new text frame and linking it. Try this: After the instruction that links the new text frame to the existing story, add: get baseline of last line of last text frame of story id myStoryId of myDocument That will force the composer into action. Have you considered doing something like: set myStory to object reference of story id myStoryId of myDocument to save yourself a lot of typing? Dave
Technical Details
Message-ID:
<2cced500.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2cced500.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9efec38b0eb1333c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-09 07:08:02 PST From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] place on last insertion point doesn't work if page overflows Message-ID: <2cced500.2@webx.la2eafNXanI> Date: Tue, 9 Dec 2003 06:52:48 -0800 References: <2cced500.-1@webx.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit