Having Problems Using F_ApiSimpleImportFormats
Hi, I am (still) using FM 8 in Structured Authoring mode with FDK8 . I want to automate the processs of importing formats to the components of a book.I have located the F_ObjHandleT of the files I want...
View ArticleCan't add a new menu
Hi, (FM10, Win XP) Following the example in the scripting guide to add a menu with ES, I just can't get it to work. I expect the menu to appear after I run the script, which it does when I run the...
View ArticleHow to reliably close a palette window
Hi, I'm trying to figure out how to positively close a palette window that has both an X in the upper right corner and a Close button. The reason is that I want to use the Window.find() method to...
View ArticleConvert Table to Text
I cannot find a method in the framemaker scripting guide for the Table > Convert to Paragraphs command. I found a suspicious Fcode command: FCodes.KBD_TABLE_CONVERT. Not so great. I neither like...
View Articleiterative loop to create cross-references
I'd like to write a script to create a list of cross-references for all paragraphs with a certain paragraph tag in the current .fm file. Is that possible? (I would use a generated list of paragraphs...
View ArticleFM11 utility to highlight all occurrences of a word
Anchal Arora, Sr Software Engineer for FM, has posted a utility along with the source code to highlight all occurences of a word in a FM document (works only in FM11). I've asked for an Extendscript...
View ArticleImport Formats flag for FM 11 Object Styles
I am trying to find the Object Styles flag for the SimpleImportFormats function. The Object Model View lists the rest of them (for example, Constants.FF_UFF_PGF), but I can't find one for Object...
View ArticleHow do I use the find method to find multiple items in a single paragraph?
I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag. Here's what the script is...
View ArticleUsing Find() in ExtendScript to search for Italics
I believe it would be the right place to place my query. I'm trying to search for all Italics in my Document with Extendscript. findParams = AllocatePropVals(1);findParams[0].propIdent.num =...
View ArticleExtendScript: Get all text from a document
Hi all. I have the following task: I need to translate a document into another language using ExtendScript. So, as "input" I have a document with a text/graphics/tables/etc. in Language_1 and a...
View ArticleApplying a condition to a paragraph
Greetings, I want to iterate through all paragraphs in a document and for each paragraph with the "comment" style, I want to apply an existing condition called "Comment" (as per p. 126 of the FDK...
View ArticleChange a command’s position on a menu?
Hi Everyone I wrote a little Script to let FrameMaker 10 user save Version 8 fm-Files. The Script works good so far, but the Command is not placed a the position in the Menu where I like to have it...
View ArticleDeclaring Variables
This is a pretty basic question. How do you know when to declare a variable as new object, and when to simply declare it by naming it? For example, here is a list of variables: var textRange = new...
View Articlenon breaking space for dates
Hi, Being a complete newby for FrameMaker (10 on windows 7), I was wondering if someone has a script (javascript) to converts the normal space with a non breaking space in dates, so that the day and...
View ArticleFind overflow Text
Hi every one is there a script that help to find the text boxes with overflow text (like in indesign with overset text)
View ArticleModifying markers at Book level
A new script has been posted by Vikash Kumar at: http://blogs.adobe.com/techcomm/2012/11/modifying-markers-in-framemake r-at-book-level-through-extendscript.html The download link is kind of obscure in...
View ArticleAdding functionality to FrameMaker objects with .prototype
Has anyone tried extending FrameMaker's built in objects using the .prototype propery? I would like to add some functionality to the Pgf object and it is tempting to use its prototype to add methods so...
View ArticleFM - PDF Conversions Programatically
Hi All , We are going for upgrade of Frame maker 8 which is on unix system to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm...
View ArticleBook level - import master pages and formats
Dear all, I am very new at scripting for framemaker (and a complete novice at JavaScripting) and I find it a bit hard to find information in an environment I'm not familiar in. Maybe you can help me...
View Articlegenerating exe file for fdk script : getting error
we trying to convert FM file to PDF using FDK asynchrouns script. we are getting below error while running attched script to crete exe file .Error "the application has faield to start because...
View Article