Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Getting text from footnotes

$
0
0

Hi Klaus, The code in your function is not quite right. The way I understand it, you are using the processFootnote function to process a single footnote. If that is the case, then this line:

 

while (fn.ObjectValid()) {

 

is not correct. The fn object will always be valid and that is why you have a runaway loop. You need this instead:

 

while (fnPara.ObjectValid()) {

 

This code will be unnecessary:

 

if (fnText == ""){ return; }

 

Rick


Viewing all articles
Browse latest Browse all 3715

Trending Articles