I have a user who uses automatic change bars. He updated a variable that appears on a master page, so each page has a change bar in the footer. We're using...
Hi Rick, I would loop through all of the variables in the document. Check the page that contains the variable: Set oPgf = oVar.TextRange.Begin.Object; If...
Rick Quatro
frameexpert@...
May 1, 2006 2:36 pm
6886
Here's an interesting problem: My script changes the values of a number of variables in a file. One variable is defined as "Contract Name \= Contract 099". For...
Hi Eric, The way you are doing it seems logical, but instead you have to define a string variable for the n-dash and use it in the definition. Set oDoc =...
Rick Quatro
frameexpert@...
May 3, 2006 2:32 pm
6888
... Which is how I might have done it had I been building the string in FrameScript. Thing is, my script takes the variable definition from an ini file. So,...
Hi. I'm learning FrameScript and having fun. I am learning alot from this list. So far I have written scripts to automate printing to PDF and this has saved...
Hi. I'm learning FrameScript and having fun. I am learning alot from this list. So far I have written scripts to automate printing to PDF and this has saved...
Hi Rick, The easy answer is "yes"; the method you use will depend on the document. If you want to email me a sample or two, I will take a look. Thanks. Rick I...
Rick Quatro
frameexpert@...
May 8, 2006 8:19 pm
6893
Has anyone else seen this. I was writing a script that changed table properties if they were more than two pages long. Therefore I wanted to compare the page...
Marcus Streets
marcus@...
May 9, 2006 3:26 pm
6894
Hello Marcus, ... In FrameScript 3.0, there were some bugs like this one. They were fixed with FrameScript 3.1. ... Yes, of course. FS 3.0 had also this ugly...
... FS 4.0 has that ugly bug as well. But I don't know if it's FrameScript or FrameMaker that is the culprit. As for the original post about odd behaviour, it...
I'm new to FrameScript and have search alot on how I can do: 1.) Create an empty book and add documents to it? 2.) Replace a paragraph's text with something...
... I'm not new to FrameScript and I have to search a lot too. lol ... What version of Framescript are you using? Check: New Named Object: New Book Name()...
Ok, thank you for the answers. I'm using FrameScript 3.0. 1.) Ok, "New Book" was not easy to find in the documentation, but anyway, when have made a new book,...
So, I absolutely loved the new script editor with FrameScript4 when I got it. Now I'm not so sure... I know, the old adage is to save often. But sometimes when...
Hello, Hopefully, I'm doing something wrong here, but when I execute the following script: x = 1; fnTest{'Outside loop'}; Loop While(x < 5) fnTest{'Inside...
Hi Mike, Try this: x = 1; Set gvReturn = fnTest{'Outside loop'}; Loop While(x < 5) Set gvReturn = fnTest{'Inside loop'}; x = x + 1; EndLoop Function fnTest...
Hi, I am new - trying to do some basic scripting for some projects. I wrote a script that uses a dialog box to find an indicated text string. It uses a loop to...
I cannot take full credit for this. Klaus helped me along with another gentlemen (I think Dillon). I hope you can figure out your problem from this. What this...
I buried this in a reply to another person, but here I go again. This only does the Search/Replace one time. How do I make it continue to loop? Are the two...
... <SNIP> Thank you, this does indeed solve my problem. It seems that I've grown lax in how I've been calling/using subs and functions in FS. I stopped using...
Thanks for the tips - a dialog box is needed - but one of your sub- routines may work. Thanks for sharing. Carey ... box to enter a pressure value. You could...
I have a dialog box for find/replace SET BookObj = ActiveBook; SET ChgFromStr = ''; SET ChgToStr = ''; DialogBox Type(medit) Title('Find Instance of Entered...
... <snip> ... If I'm understanding your intent (you'd like to loop through all paragraphs in the document, replacing text), then I think the problem lies with...
Hi! Im a bit new on framescripting, I want to get the position of a pgf so I can then see how much space is left on a page in metric mm for example. set...
That did it! Thank you, Thank you. For other readers - The point of this script is superscript and exponent number for square and cube. When files are...
Hi, I have written a simple script to parse a directory looking for .fm documents and then open them in the background modify a number of paragraph and...