• Change Color in CellOverrideShading

    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...
    wolfgangappel
    last modified by wolfgangappel
  • I am seeing book.SetProps() and doc.SetProps() crash both FrameMaker 11 and 12.

    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...
    stuartd
    last modified by stuartd
  • Where can I found a definitive list of JavaScript operators accepted by ExtendScript Editor

    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...
    bobsteamer
    last modified by bobsteamer
  • InvalidObject understanding

    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...
  • NewElementInHierarchy() - Adding New Elements, progressively takes longer when adding multiple siblings

    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...
    Trent Schwartz
    last modified by Trent Schwartz
  • Changing the color of an object

    I 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...
    bobsteamer
    last modified by bobsteamer
  • How do I obtain a list of a document's "FontWeightNames"

    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 ...
    bobsteamer
    last modified by bobsteamer
  • ChooseFile not working to open a directory ?

    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 ...
    4everJang
    last modified by 4everJang
  • Executing a program from a script

    Hi all,   Is there a way to run a program (some exe, with optional commandline arguments) from within a script ?   Thanks   Jang
    4everJang
    last modified by 4everJang
  • Need help in content chunking..

    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 ...
    Pavithra_N
    last modified by Pavithra_N
  • How do I "Remove Structure from Flow" in a Script

    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.
    bobsteamer
    last modified by bobsteamer
  • Save PDF with Bookmarks

    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...
    Herr Dataweb
    last modified by Herr Dataweb
  • Undo support around extendscript command

    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...
    JHowe99
    last modified by JHowe99
  • synchronized scrollbars of differents documents (using FM10)

    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.   ...
    marco.dona.96
    last modified by marco.dona.96
  • .FirstXRefInDoc not working

    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....
    twoclicks
    last modified by twoclicks
  • Add elements to doc

    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...
    skeptikos@hotmail.com
    last modified by skeptikos@hotmail.com
  • Cross-Reference creation

    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...
    SFRIP
    last modified by SFRIP
  • Hiding XML elements in the structure view – scripting influence to the structure view?

    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...
    Apollo102
    last modified by Apollo102
  • How do you modify content of a table, but retain the table's UserString?

    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...
    thetartankilt
    last modified by thetartankilt
  • Why is there no simple way to delete unused reference pages from multiple FM files?

    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 ...
    stephsaladino
    last modified by stephsaladino