Hello Scripters, Here's my task wich drives me crazy but seems so easy.... A) Insert Cross-reference marker B) Import a word document in the same line, so that...
Hello Ralf, i missing the correctly parameter in the sub's. The second run command has not the correctly sub. The TextLoc(vPgf) parameter used a invalid...
Hello Scripters, I have a chunk of code that works with FrameMaker+SGML version 6.0p405. However, it fails with my client's FrameMaker 6.0p405. The book...
Rick Quatro
frameexpert@...
Nov 1, 2005 8:07 pm
6545
Rick, I have Frame 6.0p357 and FS 3.2R2, and get the same result. oBookComp returns Null. Alex. ... __________________________________ Yahoo! Mail - PC...
Hello Rick, use this code snipped Set oBook = ActiveBook; Set sIndex = 'C:\Test.fm'; New BookComponent NewVar(oBookComp); Set oBookComp.Name = sIndex; The name...
You have two ways to do this that I can see: One, is to just launch FrameMaker and have the Initial script attempt to open the book. The script can attempt to...
Rick Quatro
frameexpert@...
Nov 2, 2005 4:37 pm
6552
I can't use the first option, since I already have a initial script to be loaded when a book is opened in framemaker. I will try the RunEsl option and get back...
... After that Open Book line, you could just insert the line SET ActiveBook = bookobj; or else you could replace each "ActiveBook" by "bookobj" in the script....
Forget about using the Initial script with this method. Instead, role the code into the %ESL_SCRIPT% you have set up below. Rick...
Rick Quatro
frameexpert@...
Nov 3, 2005 3:33 pm
6556
Hi Guys, I was just wondering what everyone thought about the editor as well as the debugger functionality in FrameScript 4? Those features alone are enough...
Hi John, The script editor is pretty nice; it is based the Scintilla/SciTE Text Editor. It has syntax-highlighting and line numbers, which are essential for ...
Rick Quatro
frameexpert@...
Nov 3, 2005 4:59 pm
6558
I tried rolling contents in the Initial script to the ESL_SCIRPT, but it is not working, since I use events like NotePostOpenBook & NotePostDistill in the...
Is there a way from FrameScript to have FrameMaker execute the "Read Application Definitions" command? I want to be able to provide a script, structapps file,...
Hi I'm a regular user of FrameScript but haven't started writing any of my own yet, and now I need to do this: Loop through all the paragraphs in a document ...
Hi, I am a new user to FrameScript and I am having difficulty with what I am sure is a relatively simple task. I am working with a structured document and need...
Hi Alan, There are various ways to do this, depending on where the element is, but this should be the easiest way. If you check the english element's Object ...
Rick Quatro
frameexpert@...
Nov 7, 2005 5:59 pm
6563
Hello Allen, Find the textrange of the element. Set vTR = objNewElement.TextRange; Move the offset around a position. Set vTR.Begin.Offset =...
... It all depends on what the elements represent. As <entry> is the cell, you could manipulate the cell contents of the cell object. Assuming vElement is the...
When running a script from the script window, the FrameScript constants ThisScript and MainScript both equal ScriptEditor. This is annoying and renders the run...
Hello Eric, ... constants ThisScript and MainScript both equal ScriptEditor. This says Frank Elmore to it: 'When running the script in the editor window, it...
... But....... The Debug assigns the filename to ThisScript (and MainScript). And with all due respect, the above is a non-answer. The script window and ...
I'm at the end of my tether. In my script I use the following command to import an XML file at the beginning of an element: Import File File(vCurrentFile)...
Given a conditional text marker, I need to be able to access the text that is hidden. In other words, I want to access the conditional text without having to...