Hi, I'm trying to write a script that loops through the files in a book and performs certain functions if a certain Xref format is defined in the component...
Hello Benjie, ... Erroneously, you are using the variable vBookComp for ... vBookComp holds the book component object in your loop. This is not equal to the...
Hello Benjie, remove the following line in your script: Set vBookComp = ActiveBook.FirstSelectedComponentInBook; create a doc variable in the open document...
Hi all, Several people in my organisation are using with Framescript 5_72 with FrameMaker 7.2b128. Ever since we upgraded to these versions, whenever we start...
Hi Daniel, Double-check the path and make sure the FslStruct5_72.dll is in the same location as specified in the maker.ini file. If you are sure that it is,...
Rick Quatro
frameexpert@...
Mar 6, 2008 5:25 pm
8110
Hi Rick, I want to find the element of a hyperlink marker. I have the textloc of the marker, now how can I find the element that contains the textloc. I could...
Thanks for your response, Rick. I re-checked the FslStruct5_72.dll file, and it's where it's supposed to be, and its file properties were as you said they...
Hey everyone. I am new to FrameScript and I am very excited to learn it. I have used FrameMaker for years. I am in the process of converting documents from a 7...
Mary, I had a similar thing with tables but with rows and not columns. I searched along the rows for cells with empty paragraphs. When I found two cells one...
Paul, Thank you. if you don't mind, I would love to get that script. My project is under a heavy deadline so you would save me tons of time. Thanks again. have...
Mary, hope this helps. // This script loops through the tables in a doc. It then loops through all of the rows in the table. // It then looks at the text in...
Hello, I updated two freely available scripts to my web site at http://www.golehtek.com. The first script, GenDex, can be used to edit and organize index terms...
Thanks Paul, I will let you know. mary ... through all of the rows in the table. ... is no text in the first cell ... the script assumes the whole row is empty...
I have a script that inserts text and applies a condition format to it. The problem I am having is that when I apply the condition using the condition name as...
I know this has to be easy but I can't seem to find the right code. I just need to change existing anchored frames from Below current line to run into...
Hi Mary, If your anchored from is oAFrame, use this: Set oAFrame.AnchorType = AnchorRunIntoParagraph; Rick Quatro Carmen Publishing 585-659-8267 ...
Rick Quatro
frameexpert@...
Mar 13, 2008 2:29 am
8121
Hi Row, The CondFmt parameter of the Apply TextProperties command requires the name of the condition format, which is a string. You can't use an object...
Rick Quatro
frameexpert@...
Mar 13, 2008 2:32 am
8122
Thanks so much. That was the problem. Roy ... the name of the condition format, which is a string. You can't use an object variable like you are trying to. Why...
Hi Georg, This was probably a bug in the FrameMaker 7 FDK, which FrameScript is based on. As a result, you won't be able to suppress the message with...
Rick Quatro
frameexpert@...
Mar 17, 2008 2:54 pm
8125
Hi, I'm getting error that I'm trying to write to a read-only variable in the following code (in the last line before endif). I can't figure out why. Can...
Hi Benjie, You can't add text to a table cell using this: Set vCell.Text = vTable.FirstCellInTbl.Text; Try this: New Text Object(vCell.FirstPgf)...
Rick Quatro
frameexpert@...
Mar 19, 2008 12:24 pm
8127
Hi Rick, Thanks for the answer. One more question: Do you know how I can modify the Table Title text? Thanx, Benjie ________________________________ From:...
Benjie, The table title is the table object's FirstPgf property. So, if you wanted to add text to a table title, and oTbl is your table, use this: New Text...
Rick Quatro
frameexpert@...
Mar 19, 2008 1:25 pm
8129
Thanx ________________________________ From: framescript-users@yahoogroups.com [mailto:framescript-users@yahoogroups.com] On Behalf Of Rick Quatro Sent:...
Hi Rick, I suspected something like the FDK to be the problem. So I will have to wait until our customer decides to use FM8. Thanks for your help. Georg Mees ...
Martin, I'm also writing scripts (free of charge and mainly for myself). I liked the two you have on your site. You said you will have some more available last...
Hi Michael, I have several scripts in the works, though I'm a bit behind in releasing them. The next script that I post will take inventory of all the books,...
Hey experts... I'm writing an event script to do a SAVASPDF of selected files. Basically, I'm creating a temporary book and then saving that as a PDF. It is...
Hi Rick, I think this is a FrameMaker bug. If you create the PDF "by hand" I think the .tps files get left as well. Since you are using a script, add some code...