Overset Manager (or a similar Framescript) for FrameMaker?
Wim Hooghwinkel - idtp
wim at idtp.eu
Thu Jun 18 01:11:20 PDT 2009
Hi Yves,
We once created a simple script to find text overflows, run the script and
it will find the first overflow. May be you can use it to create a more
advanced script.
// Detect overflow in AFrames
// Script detects first overflow and stops there
// copyright iDTP; versie 1.0; januari 2003
Set vCurrentDoc = ActiveDoc
Set vPgf = vCurrentDoc.FirstPgfInDoc;
Set vStop = 0; //Stop when first overflow found
Loop While((vPgf) and (vStop=0))
Set vNextPgf = vPgf.NextPgfInDoc;
Set vSubCol = vPgf.InTextObj;
If ((vSubCol.Overflowed) and (vSubCol.FrameParent.ObjectName = 'AFrame'))
// Display vSubCol.Properties;
// Position Cursor
New TextLoc NewVar(vTextLoc) Object(vPgf) Offset(0);
Set vCurrentDoc.TextSelection = vTextLoc;
Find TextRange(vTextLoc) ScrollTo;
MsgBox 'Overflow script: Overflow in Anchored Frame (see cursor).
Adapt Frame and run script again.
Set vStop = 1;
Endif;
Set vPgf = vNextPgf;
EndLoop
If (vStop = 0)
MsgBox 'Overflow script: no overflow
EndIf;
Kind regards, vriendelijke groet,
Wim Hooghwinkel
iDTP - Technical Communication Consultant
Adobe Certified Expert (ACE) in FrameMaker
tel. +31652036811
info at idtp.eu
www.idtp.eu
More information about the framers
mailing list