Hello there. The first paragraph has 180 character. Now I want to parse for each character in paragraph. Therefor, I need to know the real length of the...
Actually, you showed me something that I didn't know. I never realized that a Pgf object has a TextRange property. I have always used this New TextRange...
Rick Quatro
frameexpert@...
May 3, 2004 1:49 pm
4978
Chris, ... The paragraph End Offset does always return that annoying 1342177279 or something, regardless whether getting it by ObjEndOffset,...
Hi all, I was not able to find a way to convert cross-references to plain (better: accordingly formatted) text with FrameScript. Is there any FS or FC...
Hi Klaus, If you want to delete ALL cross-references of a given format to text, simply delete the cross-reference format object. It will preserve all of the ...
Rick Quatro
frameexpert@...
May 4, 2004 12:47 am
4981
Can anyone see why this code doesn't delete the conditions in my string? The console window correctly shows what I want deleted. ... Write console 'These...
Hello scriptwriters When I'm looping for Pgfs in ActiveDoc, is there a way to find out the placement of these Pgfs (Bodypage, Masterpage, Refpage) ? Thanks for...
Hello Chris ... Use the page property. Set vPgf = ActiveDoc.FirstPgfInDoc; Loop While(vPgf) Write Console vPgf.Page.ObjectName; Set vPgf = vPgf.NextPgfInDoc; ...
Hello Rick, ... Yup! Works! Thanks for the tip. Kind regards, Klaus ... From: Rick Quatro [mailto:frameexpert@...] Sent: Tuesday, May 04, 2004 2:47 AM...
Hello Scriptwriters, Does anyone know how to exchange the PgfFmt of the current Pgf with another PgfFmt (Without using 'New Paragraph') ? ex.: Current Pgf is...
Chris, ... Apply the properties of the new paragraph format to the current paragraph. Set vDoc = ActiveDoc; If (not vDoc) LeaveSub; EndIf Get Object...
Is there (of course) a simple way to find a specific graphic frame border color. Files sent to me have new/changed artwork marked with a "red" border. I need a...
This script will write the page numbers of any graphics with red borders. Set oDoc = ActiveDoc; Set oGraphic = oDoc.FirstGraphicInDoc; Loop While(oGraphic) If...
Rick Quatro
frameexpert@...
May 6, 2004 4:48 pm
4993
Thanks Rick, but this does not seem to do the trick. I ran it but it did not return any page numbers. Does it matter if the graphic is in an anchored frame? ...
If you run my script at the document level, it writes a 4 to the Console, indicating the graphic on page 4. Rick Quatro Carmen Publishing 585 659-8267 ...
Rick Quatro
frameexpert@...
May 6, 2004 7:18 pm
4995
What console window? Just not my day. I have read about a console in other messages, but I am totally lost to where, what, when, etc., but I feel better when I...
The console is a separate window that displays the result of some FrameMaker and FrameScript commands. It should open and be displayed when you start...
William, The Console window is the window that opens when you launch FrameMaker for Windows. It gives you information about loaded plugins, missing fonts, etc....
Rick Quatro
frameexpert@...
May 6, 2004 8:29 pm
4998
... other messages, but I am totally lost to where, what, when, etc., but I feel better when I ask our local computers God's and they have no idea what you...
In order to turn on "the console," you have to do this: File > Preferences, then select File Translation Errors. Now a console window opens each time you start...
... I have seen my console window being placed off the screen. I cannot remember for sure how I got it back, I guess it was something like removing the...
Thank you Dick! I have always left my "File Translation Errors" turned off. One of those great mysteries of life. I would also like to thank Rick. Your script...
... File > Preferences, then select File Translation Errors. Now a console window opens each time you start FrameMaker, each time an error occurs in FM (like a...
... By experimentation. I too had the same problem everyone else had. But I figured that it was related to how FM was set up. So I thought of checking the...