I am creating a saddle-stitched document with two text frames on a single spread, repeated over four pages (8 text frames). As a way to insert specific page breaks, and to drive default content when the text flow stops and there are empty frames, I need to determine the current text frame name so I can name the next sequential one and drive the content there.
Simply linking the frames in a specific order has proven too simple and the data flow is too varied to make this a viable option.
I am trying to use the following code to get the current Text Frame Name: var currentFrame = FindTextFrame(FusionPro.Composition.CurrentFlow.name);
return currentFrame;Unfortunately, when validating, I get the following error: /Library/Application Support/PTI/FusionPro/Buoltins.js, line 3113: Error: In FindFrame(), no frame name specified
How am I supposed to retrieve the current frame name with this function? I have combed the Forums, and found no specific example of grabbing the current text frame name and using it in a rule to drive content.
Thanks, in advance, for any help!