Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Browsing all 888 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Newbie question for creating new FM document and table.

I have written a little jsx to extract data (mostly formats) from an existing Framemaker document and stored that data into multiple lists but am having all kinds of issues creating new data. How do I...

View Article


Image may be NSFW.
Clik here to view.

Newbie Question #3: Modifying Table Data

How do I navigate a table and add data to it? For instance: var hero = ['Superman', 'Spiderman', 'Wonder Woman'];var fName = ['Clark', 'Peter', 'Diana'];var lName = ['Kent', 'Parker', 'Prince']; to

View Article


Image may be NSFW.
Clik here to view.

Loop through all .mif files in a given folder

Hello, I am trying to write a script that does the following:Asks the user for a folder path.Loops through all of the .mif files in this folder.Opens, modifies, and saves each file. I know how to do 1...

View Article

Image may be NSFW.
Clik here to view.

Setting property ssval

Hello fellow scripters, I am trying to get a script include a TOC in a generated book. I can add the new BookComponent (copied from a template file) as a TOC, set it to generatable and include it in...

View Article

Image may be NSFW.
Clik here to view.

How does one change a tables title to something meaningful

Tables come up with a title of "Table 1:", how do I change that to be more meaningful like "Sale Projections by Region"?   //Create the table   var textLoc, tbl;      textLoc = new TextLoc...

View Article


Image may be NSFW.
Clik here to view.

SimpleNewDoc also copies the content

Dear all, I want to add a new document to a book and use the last *.fm document (bookfile_3.fm) as template for this: oTplDoc = GetLastDocInBook (oBook);           // use this a a template oEnDoc  =...

View Article

How to add a table after the first paragraph

I want to add multiple lines of text (each ending with \n) to the first paragraph in a document and then add a table after that. I can create the doc and table but there is only 1 line in the paragraph...

View Article

Image may be NSFW.
Clik here to view.

Facing an issue in FrameMaker

Hi,I am facing an issue in FrameMaker. Actually, I have an automation flow in which I am opening a book file and reading all the markers from it using frameScript.Everything is working fine but...

View Article


Inserting XRef in document fails for book component

Dear all,Script part InsertXRef2 works correctly when starting in a document (case a). It does not insert the cross reference if the document is a book component (case b).In case a the footnote...

View Article


Image may be NSFW.
Clik here to view.

Is there a function to 'follow' an XRef?

Putting pieces together.I have a cross reference object and want to follow it to the target object (oXRef.XRefFile, ???),I imagine to do the following:- open the target document- loop until i find the...

View Article

Image may be NSFW.
Clik here to view.

External Link checker utility?

I'm looking for a utility that can check for broken links to external

View Article

Image may be NSFW.
Clik here to view.

Need to replace Arial, Times Roman with Calibri in the entire book (FM 10)....

Need to replace Arial, Times Roman with Calibri in the entire book (FM 10). Please let me know the script for this. I am very new to this.Please help

View Article

Markers can be found, but are undefined

Dear all,File https://daube.ch/zz_tests/Endnotes-simulated.mif contains markers of type Cross-Ref which all can be found with Find dialogue or a corresponding script.I wanted to replace this method by...

View Article


Image may be NSFW.
Clik here to view.

How to stop a search at the end of the flow?

Dear all,In a document are cross references to EndNotes which are paragraphs towards the end of the document. The cross references have a distinct format ("zenref-endnote-reference").I'm able to insert...

View Article

Image may be NSFW.
Clik here to view.

UpdateXRefs does not update

Dear friends,My whole script now works fine with the exception of the XRef update after inserting a new XRef. It works correctly if the target of the XRef is in the same file as the XRef (oDoc ==...

View Article


Query for creating a pdf file from book file using extendScript

Hi All, I am facing an issue while creating the pdf from the book file. I have a book file which consists of multiple chapters some are in the same folder(where book file is present ) and some are in a...

View Article

Image may be NSFW.
Clik here to view.

Cannot Initialize API Client FrameMaker 2015

I have built a custom client for FrameMaker 2019 using FDK 2019 and Visual Studio everything worked fine. But I want the same client for FrameMaker 2015 in another machine which doesn't have FDK or...

View Article


Problem with colour assignment

Friends and experts,I have this short piece of code (within function Fgr_BtnAssign) which I try to debug, because results are really odd:  // only either of these two is set (localised colour names)...

View Article

Image may be NSFW.
Clik here to view.

How to set tabs in a paragraph format?

Dear friends,I’m struggling in setting tab positions in a paragraph format.In FDK reference there is a function F_ApiSetTabs(), but this has no equivalence in the Scripting Guide. Hence the following...

View Article

Image may be NSFW.
Clik here to view.

Get missing fonts and graphics from framemaker using script.

Hi,  How to find unavailable fonts name and missing graphics from framemaker using script? Please suggests if any ideas.

View Article
Browsing all 888 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>