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

Trouble using an ExtendScript of the week

I'm trying to use the script provided at http://blogs.adobe.com/techcomm/2011/10/extendscript-of-the-week-gener ate-list-of-referenced-graphics-and-update-their-new-paths.html I keep getting an alert...

View Article


Is there a JS Script that could batch fm2mif and mif2fm?

I am using FrameMaker 10 now and want to use a Script that could save current opened files as mif or fm files (version could be selected).Like all open mif files to fm10 version or all fm files saving...

View Article


Script to resize all tables in a document

cross posted in FrameMaker forum Does anyone know of a script that will resize all tables within a document at once  so that the tables fit the width of the text frame?

View Article

Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?

I was reading the FDK documentation for FrameMaker 11 and I see that support has been added for Object formats using FO_GraphicsFmt. Is there support for the GraphicsFmt object in FrameMaker 11...

View Article

How do I take an anchored frame and return the paragraph tag it uses?

I need to parse through anchored frames and return the paragraph tag that it is located it. I can't seem to find a property that returns the paragraph tag. Anyone have any ideas?

View Article


Need Help With Script Skipping Word Before Variable

I borrowed and modified a skip I found here: http://forums.adobe.com/message/4808804 with code borrowed from elsewhere. I noticed that it seems to run fine, but it skips any word that appears right...

View Article

Remove Character Format Override From Text Range

This should be simple, but I am wracking my brains trying to figure this out. I simply want to take a text range and remove any character format override (CTRL-I or CTRL-O) and remove the override. I...

View Article

Extendscript that runs "Apply Master Pages"

Hello Framers, In the extendscipt toolkit data browser, I don't see an option to apply master pages to a document (as in Format-->Page Layout--> Apply Master Pages...).  Shouldn't this be some...

View Article


event-driven extendscript

Guys, I wonder if there is there a way to make a script event-driven, so that it will be triggered, for example, after importing formats from another file? The FM help says that 'Registered' scripts...

View Article


Can I import data from a database into a FrameMaker document using ExtendScript?

I want to import part information from a database into a structured (XML) FrameMaker document. The document would be an Illustrated Parts Catalog, built by merging the text in the structured document...

View Article

Extendscript - Book component type - ES bug or doc error?

Hi, (FM 11, Win XP) When you query ComponentType for an FM document book component, you get hexadecimal 0x200 which happens to equal Constants.FV_BK_FILE. However, the documentation says that this...

View Article

Associating a condition with a paragraph/char format

Hello fellows, I wonder if there is a way to automatically apply a certain condition to a specific type of a paragraph/character thru an event script. Thank you in advance!

View Article

How to get the flags for GetText()?

Hello, The Fm 10 Scripting Guide seems to say that the flags parameter for GetText() is a bitmask, and I should OR constants to get different kinds of text items and so forth. Is this really true or is...

View Article


can i keep original image names when i save a document as html?

Hi,I've a document with references of all documents of book , a reference page that define styles and structure of document. When I save the document as html, it's work fine but the imagenes names is...

View Article

How can I autorun a script that will process an XML file on open?

I am using Frame 11. I have a registered script that looks for event notification Constants.FA_Note_PostOpenXML. When this event fires, the script is supposed to examine the root element (so I only...

View Article


Is Find() dependable or should I use something else?

I'm trying to use Doc.Find() to find paragraphs that have changebars. Is Find() advisable generally or should I spend my time using some other method, like iterating through Pgf objects? I'm also...

View Article

TextLoc works once, then stops working

I have this simple code:  var doc = app.ActiveDoc;var t1 = new TextLoc();var firstPgf = doc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;t1.obj = firstPgf;doc.AddText (t1, "Hello"); When I ran it the...

View Article


Best way to copy range of paragraphs

I'm getting all the changebars in the files of a book, and copying them out into a separate, single change document. Once I find the Pgf with the changebar, what would be the best way to copy the info...

View Article

Retrieving data from Excel file

Hello, I have an fm file with a list of parameters. I want to read them one by one, and plant their description in the fm file under the name of the parameter. The description is in an excel file. The...

View Article

FM11 hanging/crashing with FrameScript 5

Hi My setup: FM11; Framescript 5.2 (5.2R1p251); Windows 7 FM11 is working fine ... but when l use FrameScript, the script runs OK until the end, then FM hangs for ages.Eventually the FM file reopens...

View Article
Browsing all 888 articles
Browse latest View live


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