Sign in to follow, share, and participate in this community.
Hi all, I tried to change the color in CellOverrideShading but I didn't get it. My attempts were the following: First I tried to get the index of the color property via GetPropIndex: var testProp = cell.Cel... I am attempting to set the PDFDocInfo at the book and doc level. I can get the active book, get its props, and read and write to the PDFDocInfo. When I add book.SetProps( props ); to the code it crashes FrameMaker 11... As a JavaScript Newbie (but not a newbie programmer!) I am finding it difficult to find out which JavaScript operators are accepted by ther ExtendScript Editor. I have the latest copy of David Flanagan's JavaScript Po... Hi, I encounter an issue with custom objects, I try to find Element with the function Find(). When I search Xref, row or known elements I get a valid Object. If a search for a custom element like here "RuleTem... With my ESTK script, users select model numbers from a list and then the script inserts an element with a model number entered into an attribute, one element for each model selected. When adding a large number... NewElementInHierarchy() - Adding New Elements, progressively takes longer when adding multiple siblings
in FrameMaker Scripting
BackI have tried very unsuccessfully to change the color of an object: My simplest approach has been: // The current color of a pgf format is Black and I want to change it to Royal Blue var myobjec... FM 12 - Javascript I cannot find the correct way to obtain a list of a document's "FontWeightNames" This is as I understand it (but it does not work): var mydocweights = MyDoc.FontWeightNames ... Hi all, I am creating an installer for my scripts and need to get an istall directory from the customer. It seems that ChooseFile ( ) with the ChooseOpenDir parameter is exactly what I need. But this does not ... Hi all, Is there a way to run a program (some exe, with optional commandline arguments) from within a script ? Thanks Jang Is there a way to extract the XPath results as separate XML files? I am currently looking to chunk a large xml file based on certain tags. I tried using XSLT, but I understand that FM 12 supports only XML version 1.0 ... I would like to emulate the "Remove Structure from Flow" in a Script - I have found "FCodes.KBD_REMOVE_STRUCT" but I think that is only used to examine a keystroke in a script. How to save a book as PDF with bookmarks? I am exporting an open book as PDF using the following script: var params = GetSaveDefaultParams() var returnParamsp =new PropVals() var i = GetPropIndex(params... This probably should be obvious, but how can "undo" be supported for a custom command(in Framemaker 10? I found app.beginUndoGroup() for another product but frame gives an unknown method call for this. T... Someone know how can I move two or more scrollbars of documents in the same FrameMaker process? I tried to search in the web but I found anything.. If someone know the code that I can use, please post it here. ... Hello, I try to parse xrefs in a doc (and update them), but I have trouble getting the reference to fist xref. var comp = doc.FirstXRefInDoc; returns undefined, although there are xrefs in a file. I work in FM 10.... Hi, I want to know if this is possible to manipulate fm objects to add existing elements (instanciated objects) to a document. I saw multiple ways to create doc objects but I can't found any way to add... Hello to all! I am new to this amazing world of Extendscript but I have been using Framemaker since version 5.5. I am working on a kind of cross-reference manager and it works really nice. I can list a... Hi Is there a way to hide specific XML elements (really the elements and not the attributes) in the structure view? I am asking this question to know if it is possible to influence the structure view by scripting... I have a document containing structured table elements. The tables contain user string information [used by the FDK for tracking purposes], but when I apply a simple script to modify the table shading, I then fi... I have hundreds of files in which some, but not all, of the reference pages are not being used. I don't want to open each file and manually click each page and then delete the pages one by one... what can I do to fix ...