Thanks a lot - Michael. It did give me what I was looking for. Really appreciate your fast response on this. Thanks and regards, Ranvijay Chandel On Tue, Mar...
I recently upgraded to Tech Communication Suite 3 (FrameMaker 10) and therefore upgraded to FrameScript 5.2R1. My many scripts for migrating to structured...
Hi Peter, I can confirm that the .FileInfoPacket returns nothing in FrameMaker 10 and it does with FrameMaker 9. My first suspect is FrameMaker, maybe some...
Thanks, Michael -- and thanks too for the feedback you provided to Dirk last September (message #9776 ff)!! :) In my research yesterday I stumbled across your...
For the interest of anyone following this thread: I received a very detailed reply from Frank, the project leader for FrameScript. The problem is a changed...
9984
Rick Quatro
frameexpert@...
Mar 11, 2011 6:05 pm
Hello Scripters, I have a structured template that contains no content in the document's main flow. I want to add a new, highest-level element to the document....
Hello Rick, ... All three methods below did work for me with FM 8 and FS 5.2R1p228: Set oDoc = ActiveDoc; If (not oDoc.MainFlowInDoc.HighestLevelElement) New...
9990
Rick Quatro
frameexpert@...
Mar 11, 2011 7:18 pm
Hi Klaus, That is interesting. I am using FrameScript 5.1R2 p240. Maybe there is a problem with this release. I will check with Frank and see what he says. ...
Hi, I have a FramMaker book file with few chapters that have some images. These images are imported in the file "By Reference". I am looking for a script that...
HI, I am trying to set the cell shading in a table cell but I am having trouble defining the color object. Any help will be greatly appreciated. This does not...
9993
Rick Quatro
frameexpert@...
Mar 14, 2011 4:45 pm
Hi Paul, Use Get Object to get the color object: Get Object Type(Color) Name('Magenta') DocObject(oDoc) NewVar(oColor); Set vCell.CellOverrideShading = oColor;...
I have a script that generates a PDF with particular settings that saves automatically in a particular location, depending on user (with a backup of prompting...
... Hi Rick. Did you ever come up with a practical way of generating random numbers in FS? Here's what I plan to do: 1. Estimate 'x', the number of random...
... Hi Malcolm, This sounds quite complex. I follow the discussion about random numbers in other forums as well, and I learned that it is important to...
9998
Rick Quatro
frameexpert@...
Mar 18, 2011 4:09 pm
Hi Malcolm, Michael is correct about the distinction between random and unique. If you are looking to generate unique ids like I was, here is what I came up...
Hi, this sounds like a task, like this: run fs script loop while (vtrue) funktion runs radonamker witch creates af file frandom; wait(seconds); look if frandom...
... Thanks Rick and Michael. I *was* conflating two the concepts. Rick, your algorithm looks interesting, and I think I'll play around with it a bit as I will...
... Congratulations, you won it! Whatever the prize is... :-) Thanks for your nice words, - Michael PS: Applying a character format to change text into block...
... Thanks for pointing this out - I'm not sure who has access to the obfuscated documents, but I don't this is an issue as the current process uses a perl...
Hello all, My name is Sean Hocum, and I am new to the group. I've made great progress on a script that ensures each table in our company's documentation...
10005
Rick Quatro
frameexpert@...
Mar 22, 2011 1:08 am
Hi Sean, Assuming that oPgf is the variable for the table title, you can do this. Find String(' ') InObject(oPgf) Suffix ReturnStatus(iStatus) ...
Hi, I have a 'bullet_1' format for the first level bullet items in my document. I want to remove the autonumbering, which is the bullet in this case, from the...
Can FrameScript 5.2 run on 64-bit Windows? Thanks!...
10008
Rick Quatro
frameexpert@...
Mar 25, 2011 8:29 pm
Hi Karen, Yes. As long as your version of FrameMaker will run, FrameScript will run as well. I am using FrameMaker 7.2, 8.0, 9.0, and 10.0 on 64-bit Windows 7...