I'm having problems with a previously working script that adds files to the end of a book. This is the line of code that is causing the error: // Put file at...
Brad Anderson
brad@...
Oct 2, 2007 6:40 pm
7813
Hi Brad, Actually, I just did this in a script. To move a component to the end of the book, you use: Set oBookComp.NextComponentInBook = 0; I think if you only...
Rick Quatro
frameexpert@...
Oct 2, 2007 9:11 pm
7814
Rick, I've tried that, too! I end up with an empty book file. Here's the relevant code: // Add the TOC component to the book and set its name and type. New...
Brad Anderson
brad@...
Oct 3, 2007 3:45 am
7815
Hi Brad, // Put file at end of book Set vCurrentBookComp.NextComponentInBook = 0; This code should only be used if there is at least one other component in the...
Rick Quatro
frameexpert@...
Oct 3, 2007 12:01 pm
7816
Below is the code that I'm running. I'm trying to move the first file in the book to the end of the list of files, but nothing seems to change with this code....
Hello Framers, I have long used FrameScript and MSXML to import XML into unstructured FrameMaker files. MSXML is great because it uses standard XML...
Rick Quatro
frameexpert@...
Oct 5, 2007 6:46 pm
7818
Hi Dan, Try this. It works for me: Set oBook = ActiveBook; Set oBookComp = oBook.FirstComponentInBook; Set oBookComp.NextComponentInBook = 0; Rick Quatro ...
Rick Quatro
frameexpert@...
Oct 5, 2007 6:49 pm
7819
... I don't follow this. To me this would make the first object in the book now the only object. What am I missing? I'm trying to move the first object to be...
Did you try it? Open a book with more than one component in it, copy/paste the code into the Script Window and press the Run button. It moves the first ...
Rick Quatro
frameexpert@...
Oct 5, 2007 8:07 pm
7821
Hi all, this time I have a minor problem with the MSXML ActiveX object. Please check this: New EActiveXObject NewVar (oXmlDoc) ProgId...
Hi Sven, Test the ErrorCode value of the NewVar object. If the ErrorCode is 0 then it loaded successfully; if it is not equal to 0, it did not load. Rick...
Rick Quatro
frameexpert@...
Oct 11, 2007 2:06 pm
7823
Hi Rick, thank you - again :O) It works perfect now. Sven ... 0 then it loaded successfully; if it is not equal to 0, it did not load. ... ...
Hello, I'm very new to FrameScript. My goal is to write FrameScripts that will run in batch mode. It is my understanding that when using RunEslBatch, if...
Hi Barb, Open the EslBatch.ini in your Windows folder and make sure the path points to the correct version of FrameMaker. For example, here is the contents of...
Rick Quatro
frameexpert@...
Oct 12, 2007 3:57 pm
7826
Are your sure FrameScript is not starting Frame? I wonder if AutoMap might be shutting down the session of Frame that it might have started to use. ..dan ... ...
... points to the correct version of FrameMaker. For example, here is the ... I think adding the FrameMaker path to the EslBatch.ini file solved my problem. I...
I regret to inform the framescript-users group that Martha Kolman (mouditrix) succumbed to cancer on 12 June 2007. A memorial website has been created at...
I am brand new to Framescript, and I have a specific element that is always the child of a table cell. I want to loop through the document and alter the custom...
I am slowly getting through the FS Crash Course I am trying to get a list that shows which Language property description applies to each Language Property...
Hi Bodvar, Many properties in FrameScript (and the FDK) are represented as integers. To make these integers "more readable" they often have constants defined...
Rick Quatro
frameexpert@...
Oct 24, 2007 11:46 am
7835
Hi Erik, I have only used these commands once or twice, mainly to process generated list Hypertext markers. Here is an example: // Set a variable for the...
Rick Quatro
frameexpert@...
Oct 24, 2007 12:37 pm
7836
Hello Framers and Scripters, I am looking for some right-brain help (or is that left-brain?). I need a web site design for my real estate business,...
Rick Quatro
frameexpert@...
Oct 24, 2007 4:47 pm
7837
Just a little clarification. I don't need help coding the website, but with the design itself (color combinations, page layout, logo, etc.). I am looking for...
Rick Quatro
frameexpert@...
Oct 24, 2007 5:17 pm
7838
Hi Rick, Thanks for the reply. Sorry for the long elaboration below but I hope it is somehow clear and maybe you can share your ideas about it. The reason why...
Hi Erik, Once a paragraph is created, its ObjectID (Unique property) usually stays fixed. If you copy and paste the heading to another location, the ID could...
Rick Quatro
frameexpert@...
Oct 24, 2007 6:50 pm
7840
Rick, I will be running the code to open the doc, find the pgf etc... anyway as it is part of an update book process... so probably the fixed objectID in the...
This is a followup question to my needing to move a file to the end of book. Turns out there were more requirements. I think if I get the answwer to deleting...