Hello Jeff, ... With FrameScript, you replace text just like in the real world: Find, Delete and Insert. So you may want to take a look at the commands Find...
Hi Jeff, One note to my previous message: If you have an active document (must be visible!) the first example can be done easier so that it does find text also...
Thanks. Question concerning Find String versus Find FromTextLoc and wildcards. It appears that I need wildcard option for Find String, but apparantly that is...
It sounds like this thread is still talking about s/r files in a book. If I were doing this I would create a string list of file names and use it in a loop...
Hello Framers, My ChapterTOC script is now available for purchase. A demo is also available. Thank you very much. Rick Quatro Carmen Publishing 585-391-6702...
Jeff, ... To extract text from a string, you need the command Get String FromString. If your filename has a fixed length, it is easy: Set vOldName =...
Thanks for your help. Can you also search for special characters. I could not find an option for special characters. For example, if you want to replace all...
Hi Jeff, ... You need to convert special chars for FrameScript when - getting strings from FM-external processes (Windows) - typing special chars directly in...
Can anybody tell me how to set a negative metric value? I'm trying to modify the BaselineOffset of inline anchored frames, but I can't seem to give it a...
What I'm doing essentially boils down to this. I'm looping through a book and finding every inset graphic in each document (I've left this part of the code...
Dan, Setting baseline offset with FrameScript is opposite of doing it in the FrameMaker interface. If you want -12 (as in the interface), use 12 in your ...
Huh! that's right! Thanks, I hadn't tried that. Is there a reason that FrameScript is backwards like this? Is this documented anyway? And are there other...
Hi Klaus, I had problems when I tried to call a script within a file when the commands where not included in a sub. Did you try the following? Write...
Hi Georg, Thanks for your answer. Unfortunately, whether the FC is in a sub or not: About 85 percent of the installed script commands will return such a...
Hello, How Come This does not work? Open Book File(bookpath) NewVar(vBook); Update Book BookObject(vBook) NewVar(docobj); The update command says: Error in...
Hi all, I'm a newbie in FrameScript and I'm facing tough days trying to use Unicode. Is out there a charitable person willing to help me? This is my situation:...
Hi There I have a problem when I try to save a document as a XML-File. I do the following (Framemaker7(structured), Elmscript2.1R3): I open 10 documents in a...
Georg, When you save the file, use the DocObject parameter with the object that you retrieved on the Open Document command. Rick Quatro Carmen Publishing ...
Hi there, It seems that the file itself was corrupt. I tested it with another file and now everything works fine... Thanks Georg Mees, InnoP GmbH ... I ... and...
Hi all, We have several large books (600+ files, 7000+ pages, 20,000+ cross-refs). We have a script to set the chapter numbering and update the cross-refs....
Hello List. I have a suite of scripts that do various formatting checks on our documents. I want to use the UserString property of the Document to mark it with...
The only thing you have to worry about is someone else's plugin or script overwriting the UserString property. For example, Documentum uses the Doc.UserString...
... If you are using Structured FM that is NOT true. Entity names are stored in the UserString property. Writing to the UserString will/may result in odd...