Mark, Might it be easier to use the name of the book file to generate the PDF name? Below is a code fragment that replaces a ".book" extension with ".pdf" and...
I tried searching through the archive and didn't find an answer to this, so let me know if I'm off my rocker here. (Bear with me as I'm new to writing...
Can I convert one conditional text tag to another via framescript? Carla cmartinek@... - CONFIDENTIAL- This email and any files transmitted with it are...
Trying to change some pgf fmtsHi Carla, Do you want to simply rename the condition format? If so, you can use: Set oDoc = ActiveDoc; Get Object Type(CondFmt)...
Rick Quatro
frameexpert@...
Jan 5, 2006 6:05 pm
6664
Thanks, I'll give this a try. We ended up doing it manually this time around, but we often run into this type of problem with legacy docs and old condition...
Using pieces of scripts from various posts, I created a script that removes all text tagged with a condition and then deletes that condition. My first...
Hi, When I compare two documents, sometimes one of the documents complains: "The document <name> contains multiple flows with the same name (A). These flows...
just wanted to confirm that the approach Rick outlined - using an Intlist to store ids of anchored frames to delete - preempts this problem. thanks Rick! ... ...
Hi All, I'm new to Framescript. I'm currently setting up a script that will check the PDF setup will correct it to a desired configuration. My question is: how...
See the PDFStructureLevel property of Pgf Fmt (paragraph format) objects. Rick Quatro Carmen Publishing 585-659-8267 www.frameexpert.com ... From: yarono5 To:...
Rick Quatro
frameexpert@...
Jan 10, 2006 3:11 pm
6671
Hi Zsolt, If we make the simple assumption that there are no tables in the main flow, you can use something like this: Set oFlow = ActiveDoc.MainFlowInDoc; Get...
Rick Quatro
frameexpert@...
Jan 10, 2006 5:07 pm
6672
Hello list, I want to sort some tables by other parameters. My script works like this (ElmScript 4.0): 1. Loop through all tables in ActiveDoc 2. If the table...
Hello list, I want to sort some tables by other parameters. My script works like this (ElmScript 4.0): 1. Loop through all tables in ActiveDoc 2. If the table...
See the AcrobatLevel Pgf property in the following example: Event NotePostOpenDoc Set vCurrentDoc = ActiveDoc; // Set PDF bookmarks and levels New StringList...
The closest thing to a switch is to use If/ElseIf/Else/EndIf If Case1 // Case 1 ElseIf Case2 // Case 2 ElseIf Case3 // Case 3 Else // Optional default case. ...
Rick Quatro
frameexpert@...
Jan 11, 2006 12:57 pm
6677
Hello All, How do I prevent a modeless form from closing when the Esc key is pressed? When my user clicks buttons on the modeless form, I want the focus to...
Rick Quatro
frameexpert@...
Jan 16, 2006 1:45 pm
6678
Hello Rick, ... I don't think this is currently possible. ... Did you try Set Session.IsInFront = True; and eventually Set vDoc.IsInFront = True; ? Kind...
Hi Klaus, Thanks for the advice. It looks like Set Session.IsInFront = True; works. Rick Hello Rick, ... I don't think this is currently possible. ... Did you...
Rick Quatro
frameexpert@...
Jan 16, 2006 2:50 pm
6680
Most of my writers have been trained to not access the master pages to do anything. However, we now have a deliverable that includes a copyright statement on...
Hi Rick, Yes, this can be done. You might want to consider using a variable for the copyright text. That way, they can use building blocks for character...
Rick Quatro
frameexpert@...
Jan 16, 2006 8:43 pm
6682
Hi, I'm using the following script to verify that the 'Generate PDF Bookmarks' is 'checked' and it keeps crashing FrameMaker. If ActiveBook.PDFBookMark<>True ...
The PDFBookMark property is not valid for Book objects. You have to set it on each Doc object within the book. Rick Quatro Carmen Publishing 585-659-8267 ...
Rick Quatro
frameexpert@...
Jan 17, 2006 12:14 pm
6684
Hi Rick, Thanks for the prompt response. I'm now able to set the 'Generate PDF Bookmarks' on each Doc object. But when I view these settings for the entire...
Hi, Is there a way to change the dictionary of a file or book. We have different dictionarys for books/files in different languages. Thanks in advance Georg ...
Did you try updating the book? Rick Hi Rick, Thanks for the prompt response. I'm now able to set the 'Generate PDF Bookmarks' on each Doc object. But when I...
Rick Quatro
frameexpert@...
Jan 17, 2006 7:29 pm
6687
Hi All, I've gone through the entire framescript documentation and didn't find anything on this one. Does someone have a clue how read or set this property? ...