[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: <vbrown@xxxxxxxxxx>, <framers@xxxxxxxxx>
Subject: Re: adding conditional attributes to a paragraph tag
From: "Rick Quatro" <rquatro@xxxxxxxxxxxxxxxx>
Date: Thu, 11 May 2000 13:30:49 -0400
References: <C6CA4A67C5A4D31197CC00508B6FDBD0018ACCCE@venus.portal.com>
Sender: owner-framers@xxxxxxxxx
Vickie, There is no automatic way to do this with FrameMaker. However, if you have FrameScript for Windows or Macintosh, here is a script that will do it for you. In this example, every paragraph tagged Heading1 will be assigned the Comment condition format. You could instruct your writers to run the script before saving their documents, or the script could run automatically everytime the document is saved. Loop ForEach(Pgf) In(ActiveDoc) LoopVar(vPgf) If vPgf.Name = 'Heading1' New TextRange NewVar(vTextRange) Object(vPgf) Offset(0) Offset(ObjEndOffset); Apply TextProperties TextRange(vTextRange) CondFmt('Comment'); EndIf EndLoop Rick Quatro Carmen Publishing 716 659-8267 rquatro@rochester.rr.com FrameMaker solutions at http://www.frameexpert.com ----- Original Message ----- From: <vbrown@portal.com> To: <framers@omsys.com> Sent: Thursday, May 11, 2000 12:03 PM Subject: adding conditional attributes to a paragraph tag > I'd like to associate a condition with a paragraph tag that we use for > embedding comments during the review cycle. The paragraph tag has obnoxious > colors to help us spot them, but we still admonish template users to assign > a condition to the paragraph. Adding the condition as one of the paragraph > tag's attributes would help eliminate the additional step. I've scrubbed > through Frame's MIF documentation and haven't found anything that leads me > to believe this is possible, but perhaps someone out there has a solution. > > TIA, > > Vickie ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **