Hello; I was using this script without any problems up until recently, however when I fire it up now it does not replace paragraph formats and only deletes...
Hello For getting Doc objects use the Set command. ... Set FileVar = ActiveDoc; The CombinedFonts parameter is only for japanese documents. ... Import Formats...
Hi Karsten; thanks for your help; I found the REAL problem was that for some reason the template file I was using would not close without going through a Save...
Hello Use in the Close command the IgnoreMods parameter. Close Document DocObject(TemplateVar) IgnoreMods; Replace in the Loop command 'ActiveDoc' with the...
Hi all, I want get the metric value of the tabs of a PgfFmt. With this code, i get the array of the first tab: // ---- Aktives Dokument? If (ActiveDoc = 0) ...
Hi Michael ... Use the "X" propertie: Set metOffset = vLS10Tab01.X; Display metOffset; Best regards Michael p. s. You can find this information in chapter 2,...
I am importing new formats including the page formats from a new template. It is not copying the master pages from the master template when running my script....
melofer, next time please show us the relevant code you currently use. You cannot delete _all_ master pages, depending on pagination properties the default...
Hello All, Ok here's the situation. I am trying to find a script that will allow me to: 1. Select a table by Name e.g. 'Table1' 2. Replace paragraph formats...
Here is one way to find all of the tables with a particular tag. Set oDoc = ActiveDoc; Loop ForEach(Tbl) In(oDoc) LoopVar(oTbl) If oTbl.TblTag = 'Table1' // Do...
Rick Quatro
frameexpert@...
Dec 8, 2004 1:53 pm
5638
Hi, ... you can use a loop through _all_ tables in document Set oDoc = ActiveDoc; Loop ForEach(Tbl) In(oDoc) LoopVar(oTbl); If (oTbl.TblTag = 'Table1') // here...
Thanks guys, The script effectively finds the table that I wanted, and changes the formats, as I want. But then it keeps going and changes all of the other...
Hi Toby, ... I think the question is, what does your sub routine ChangeAllParagraphFormats do? I guess it changes _all_ paragraphs in the document, also it is...
Hi folks, I want to change an existing element in to another element. The old element is invalid in the structure. The new element will be valid. I thought, I...
Hello Michael, i have tested your script, the code is correctly. best regards Karsten 'MAC' Natebus Dipl.Ing.(FH), EMD ... mailto:karsten.natebus@... ...
Hello Karsten, ... thanks that you tested my code. The problem is not that the changing not happened. The problem is that after the changing the element is...
Hello Karsten, ... hmmm, that is fine, because my approach is right and is it bad, because I need a depthly test, to check, why the routine doesn't work with...
This might not be the right forum for my question. I would like to get a ballpark idea of FrameScript consulting rates. I tried contacting a FrameScript...
How can one select all text between certain paragraph tags? For example, I want to navigate to the first Head1 tag in a document, then select all text between...
Hello Michael, ... Please note that the "first" paragraph of a specific paragraph format in the document may differ from what you actually want. If the...
... Thank you Klaus. The code works well. One question about this part: New TextRange NewVar(vTextRange) Object(vStartPgf) Offset(0) Object(vPgf.PrevPgfInFlow)...
Hello Mike, ... Sorry, I do not really understand your questions. The introducing line Set vStartPgf = 0; is used because only text between Head1 paragraphs...
Thank you again Klaus. Your annotation was very helpful. I think I understand how it is working now. This was very helpful!! ... From: Müller, Klaus...
Hi there, how can i import all the paragraph and character tags from a open document into the current active document ? I appreciate any help. Thank you ...
Hello Srikanth, ... Use the Import Formats command. Set objCurrentDoc = ActiveDoc; Open document File('source.fm') NewVar(objSourceDoc); Import Formats...
Karsten, thank you. It works, I am trying to close the source document which is opened while importing the tags. I tried to use the following code at the end,...
Hallo Srikant The Close TextFile is only for textfiles. Use for FrameMaker documents the Close Document command. Set objCurrentDoc = ActiveDoc; Open document...
Karsten, Thanks alot, I was looking for that Close Document command. Thanks again srikanth -- In framescript-users@yahoogroups.com, Karsten Natebus ... ...