Hello Jack, ... To create a standalone TOC from a document, you need to create a temporary book, add the doc (New BookComponent), and also the TOC to this...
Hi all- I made a list of property names (FontSize, RightIndent, etc.), and I want to get the value of each one as I loop through pgfs. So I tried a couple of...
Hello Tom, ... Did you made a string list of property names like this? New StringList NewVar(propertynames) Value('FontSize') Value('RightIndent'); ... ...
Well, that's interesting, and unfortunate, that you can't specify properties as variables. I was afraid of that. Looks like I'll have to use one of your brute...
Hi, all I want to remove a bookcomponent from a book file. Is there anyone who knows how to do it? Here is an example below. // Removing TOC file from a book....
Hello, Karsten Thank you! Delete command is what I needed. I thought that Delete command deletes a file from the disk, but it was misunderstanding. In this...
Hello Alex, ... Yes, this is possible with FrameScript. You may want to take a look at the sample scripts EltDefUsageCount.fsl or ReportElementStructure.fsl; ...
Hello Alex, here is a sample code for loop all elements (with childelements) in structured document. Best regards Karsten Karsten 'MAC' Natebus Dipl.Ing.(FH),...
Thanks Klaus and Karsten. This information and sample code is a great starting point... Alex. ... __________________________________ Do you Yahoo!? Read only...
Hi Alex, Basically, you need to set up your own little algorithm to walk the tree. It's a non-linear concept, because a structure tree is non- linear. But...
I use RefFileNotFound(AllowAllRefFilesUnFindable) option of Open command when opening all documents in a book. If a referenced file is not found during opening...
You would have to check your document for missing items after the document is opened. For example, you would loop through the list of imported graphics in the...
Rick Quatro
frameexpert@...
Jul 7, 2005 8:41 pm
6214
Hello Takaaki, ... The RefFileNotFound option itself does not return any information which files are missing. ... With FrameScript 3.0 or later, you could use...
Hello Rick and Klaus, Thank you! Your scripts taught me how to get 'status'. I'll apply your idea to getting a status about unresolved cross-reference and...
Hi all, Is it possible to get a log about Hypertext link error? However, I don't want to use the following F-Code. Execute FrameCommand KbdValidateHypertext; ...
What kind of Hypertext links are you trying to validate? If they are gotolink links, the process would be similar to validating the other kinds of referenced...
Rick Quatro
frameexpert@...
Jul 9, 2005 2:20 pm
6218
Hi all, I wonder how to determine that the current selection is in a math object (equation). If the math object itself is selected, the document property ...
Just a passing thought, but maybe the problem is the solution (maybe not a GOOD one, but it might work): If you can't get any TextSelection property, then...
Hello Dick, ... Unfortunately, this does not work because it won't be possible to differentiate between the IP in an equation and no selected objects. Regards,...
Hello Rick, Thanks for your advice. ... gotolink links, ... Yes, gotolink. I can parse the marker text now. But I have another problem. Parsing the marker text...
For a relative path, you can use Run eSys.ExtractPathName FullPath(oDoc.Name) NewVar(sPath); to get the path to the current document, and then add sPath to the...
Rick Quatro
frameexpert@...
Jul 11, 2005 1:59 pm
6224
Hi Klaus, I poked through the FDK documentation and can't find anything about a text selection within an equation. What are you trying to do? Thanks. Rick...
Rick Quatro
frameexpert@...
Jul 11, 2005 3:01 pm
6225
Hello Rick, ... I wrote a script that selects the anchor of selected objects. This is especially useful if you don't find the anchor of AFrames, but also comes...
Hi Klaus, OK, I see what you mean. If I can think of a workaround, I will let you know. Thank you. Rick ... From: Müller, Klaus To:...
Rick Quatro
frameexpert@...
Jul 11, 2005 4:18 pm
6227
Hello Rick, ... to do some extra work. Unfortunately the form is ..\Target.fm. I needed some extra lines, and my script went very ugly. Anyway I've completed...
Hi, In my Build automation, I save the book as a PDF format. I want to set the Bookmarks level to None. Since some writers are using a older FrameMaker version...
Hi, I had updated FrameScript to a recent version, but still the PDF bookmarks are creating problems. The following is the script I use to save as PDF. Save...