In FrameScript documentation, I've seen two ways to define subroutines. One method is to include a Using (<param name>) syntax for each argument to the...
Hi scripters, I am using framemaker 6 with framescript 2.1R3. I am trying to convert all one-celled tables in a document back to text using the following...
Hi Patrick. I see a couple of things that may be "wrong" in your script. 1. Is docObj being set to the active document? You need to refer to a specific...
Malcolm is right, the loop fails because you are destroying the table object by converting it to paragraphs. You should try to avoid F-codes for this, because...
Thanks, Rick and Malcom. The snippet I sent was already in a LOOP ForEach(Tbl) block, so that was not the problem. I had already pretty much come to the...
2654
eric.dunn@...
Aug 2, 2002 6:30 pm
Hello All, I'm trying to write a script that builds a TOC with crossreference SGML elements. Don't ask why, but the title does not support crossreferences so...
2655
eric.dunn@...
Aug 2, 2002 6:35 pm
Give me a second or two, I just looked at the new text command and think I can solve this myself. Eric L. Dunn...
2656
eric.dunn@...
Aug 2, 2002 6:52 pm
Ok, this isn't working. The following inserts the text before the element and not in it. //*****Insert text in title element***** Set vTextBegin =...
2657
eric.dunn@...
Aug 2, 2002 7:02 pm
Also, using the Textloc correctly does the same thing: //*****Insert text in title element***** Set vTextBegin = vDocTocTitleElement.TextRange.Begin; New Text...
2658
eric.dunn@...
Aug 2, 2002 7:04 pm
Dumb Eric, real Dumb. Is there an award somewhere for most posts without requiring an answer? The following works: //*****Insert text in title element***** Set...
Is there any known bug in identifying the AnchorType of an AFrame? I have an Aframe on which I identify the AnchorType. Sometimes I get AnchorType = 1,...
I use several loops. It's something like this: Set SrcDoc = Session.FirstOpenDoc; Loop While (SrcDoc) Set varGrafic = SrcDoc.FirstGraphicInDoc; Loop While...
Hi Georg, "NextGraphicInDoc" is a property of your graphic, not of your document. Try Set varGrafic = varGrafic.NextGraphicInDoc; instead of Set varGrafic =...
Georg, ... I don't really understand what's the problem. Couldn't it be possible, that some of your AFrames do actually have AnchorType 1 (= AnchorInline) and ...
The problem is that sometimes the SAME AFrame has AnchorType 1 and sometimes it has AnchorType 4. I start the script with the same document (no changes in...
... Can you post your exact script, possibly stripped down to the code you think is not working right in conjunction with FM? I have not seen this or a similar...
2669
ruediruedi2000
Ruedi.Fries@...
Aug 7, 2002 7:22 am
I'm desperately trying to add line numbers to a framemaker document. Has anybody used the framescript 'numbering.fsl'? It is not working in my hands. Is...
2670
Marcus Streets
marcus@...
Aug 7, 2002 8:13 am
... Ruedi If you mean the mubering.fsl script from http://www.chiark.greenend.org.uk/~mjgs/ I would be interested in knowing what problems you are having. ...
Hello Scripters, I'm back again with a funny problem. I've written a tidy-up script that processes all files in a book doing various things on the text. Since...
2672
ruediruedi2000
Ruedi.Fries@...
Aug 7, 2002 8:49 am
Marcus, yes, it is the script from http://www.chiark.greenend.org.uk/~mjgs/ The error message is: FrameScript-Compile Error CODE(-2)Line(130) Col(130) Ruedi ...
Eckhard, It is the combination of RefFileNotFound(AllowAllRefFilesUnFindable) and MakeIconic(True) that corrupts the path to the first missing graphic. You ...
Hi Ruedi, ... The FS Reference says about the Errorcode value -2: "Invalid Document or Book object specified", but I can't see why this could be a problem in...
2675
Marcus Streets
marcus@...
Aug 8, 2002 8:10 am
... The problem was that I used the End command, which has since been deprecated. I have rewritten the script to fix this and will post the update probably...
I'm not sure this is possible. If you tell me that it is, I'll try to figure out how to do it. :-) Here's what I want to do: 1. Find a group of paragraphs...
Hi Rick, ... Yes, this is possible. - Set vFlow = ActiveDoc.MainFlowInDoc - Loop (1) through the Pgfs (FirstPgfInFlow, NextPgfInFlow) - Find the first...