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...
4975
Rick Quatro
frameexpert@...
May 3, 2004 1:18 pm
Christian, I can't easily explain to you why the end offset is so large but I can give you some code to do what you want. Set vPgf =...
4976
chris_schaefer2000
chris_schaef...
May 3, 2004 1:43 pm
Rick, I don't understand exactly the reason for that effort, but it works :-) Thanks a lot Christian...
4977
Rick Quatro
frameexpert@...
May 3, 2004 1:49 pm
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...
4978
Klaus Mueller
klaus_mueller23
May 3, 2004 7:34 pm
Chris, ... The paragraph End Offset does always return that annoying 1342177279 or something, regardless whether getting it by ObjEndOffset,...
4979
Klaus Mueller
klaus_mueller23
May 3, 2004 11:01 pm
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...
4980
Rick Quatro
frameexpert@...
May 4, 2004 12:47 am
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 ...
4981
cwillardr
May 4, 2004 4:32 am
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...
4982
karsten_natebus
May 4, 2004 8:27 am
Hello Chuck, ... The code is to deletes from condition formats correctly. Set CurrDoc = ActiveDoc; New StringList NewVar(CondFormatsInDoc); Loop...
4983
chris_schaefer2000
chris_schaef...
May 4, 2004 8:34 am
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...
4984
karsten_natebus
May 4, 2004 8:55 am
Hello Chris ... Use the page property. Set vPgf = ActiveDoc.FirstPgfInDoc; Loop While(vPgf) Write Console vPgf.Page.ObjectName; Set vPgf = vPgf.NextPgfInDoc; ...
4985
"Müller, Kla...
klaus_mueller23
May 4, 2004 2:02 pm
Hello Rick, ... Yup! Works! Thanks for the tip. Kind regards, Klaus ... From: Rick Quatro [mailto:frameexpert@...] Sent: Tuesday, May 04, 2004 2:47 AM...
4986
chris_schaefer2000
chris_schaef...
May 5, 2004 10:02 am
Hello to all Does anyone know the character code for the save-space? (done by <ctrl><space>) Thanks for all answers Chris...
4987
"Müller, Kla...
klaus_mueller23
May 5, 2004 10:05 am
Chris, ... Try this: New String IntValue(17) NewVar(cNonBreakingSpace); Kind regards, Klaus ... From: chris_schaefer2000 [mailto:schaefer_c@...] ...
4988
chris_schaefer2000
chris_schaef...
May 5, 2004 10:14 am
Klaus, thank you for that fast answer. Chris...
4989
chris_schaefer2000
chris_schaef...
May 6, 2004 11:58 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...
4990
Klaus Mueller
klaus_mueller23
May 6, 2004 12:05 pm
Chris, ... Apply the properties of the new paragraph format to the current paragraph. Set vDoc = ActiveDoc; If (not vDoc) LeaveSub; EndIf Get Object...
4991
William Bernhardt
largeteddybe...
May 6, 2004 3:27 pm
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...
4992
Rick Quatro
frameexpert@...
May 6, 2004 4:48 pm
This script will write the page numbers of any graphics with red borders. Set oDoc = ActiveDoc; Set oGraphic = oDoc.FirstGraphicInDoc; Loop While(oGraphic) If...
4993
William Bernhardt
largeteddybe...
May 6, 2004 7:08 pm
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? ...
4994
Rick Quatro
frameexpert@...
May 6, 2004 7:18 pm
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 ...
4995
William Bernhardt
largeteddybe...
May 6, 2004 8:18 pm
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...
4996
keith.soltys@...
keithtsx
May 6, 2004 8:23 pm
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...
4997
Rick Quatro
frameexpert@...
May 6, 2004 8:29 pm
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....
4998
Combs, Richard
rgcombs1
May 6, 2004 11:32 pm
... 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...
4999
Dick Girard
dick_girard
May 7, 2004 2:21 am
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...
5000
Michael Müller-Hil...
michaelmh
May 7, 2004 7:23 am
... 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...
5001
William Bernhardt
largeteddybe...
May 7, 2004 12:35 pm
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...
5002
Combs, Richard
rgcombs1
May 7, 2004 2:11 pm
... 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...
5003
Dick Girard
dick_girard
May 7, 2004 4:41 pm
... 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...