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

How to write stuff to the console

Hello all, I know I have seen the method for writing some message to the FM console somewhere, but searching the Scripting Guide for the word 'console' does not take me to that info. Can anyone tell me...

View Article


How do you rename a component file (in a book) from the FDK?

...and upate all the links?

View Article


Edit Script opens Notepad, not ESTK ?

In the documentation for FM10 and FM11 it says that clicking the Edit button in the Script Library panel opens the script in the ESTK editor. Not on my machine: it opens in NotePad instead. Is there a...

View Article

Strange behavior of breakpoints

Hello fellow scripters, I have a problem with the behavior of breakpoints in the ESTK. If I set breakpoints inside an if / else construct and start the script, the ESTK automatically changes those...

View Article

How to get selected images?

Hi all,can anyone help with getting a list of selected images?E.g., to get selected tables I usedoc.GetTextForRange(doc.TextSelection, Constants.FTI_TblAnchor) Thanks in advance!

View Article


Calling one script from another

InDesign has a nice mechanism for calling one script from another, so code can be made modular. What about FrameMaker ExtendScript? What methods are people using to call one script from another? Thanks...

View Article

Import method does not work

Hi there, Does anyone have experience in using the Doc.Import method to pull another FM file in via a script? I have tried all settings but Frame does not recognize the file type, even though it is a...

View Article

Need some support with syntax from FDK to ExtendScript : Getting FontFamily

Hi there, I am using some scripts to traverse my text and add tags to specific characters when they use a given font. This works fine if the PlatformName is known, but every now and a while these seem...

View Article


How to know if an object is a File or a Folder ?

Hello again, I am looking for an easy method to determine whether a File or Folder object point to an actual file or to a folder. Both objects seem to have the same set of properties, except the File...

View Article


Changing one font into another using extendscript

Hi there, I've been trying to replace one font by another, but no success , and it seems hard to find some good examples on how to do this, though it looks to me like something rather common to do with...

View Article

How do I convert Word to Frame 7.2, and replace the styles with other tags?

How do I convert Word to Frame 7.2, and replace the styles with other tags? E.g. Normal > Body1, Heading 1 > H1,  etc.

View Article

Keyboard shortcuts in custom commands

Hi. I am trying to specify Control+, as a keyboard shortcut in a custom FrameMaker command defined in an ExtendScript script. I am using this: var cmd1 = DefineCommand(1, "LinkToHeadingStepOne", "L1",...

View Article

Adding a folder to a book

Hi, I am trying to add a folder to an empty book, which I have as the ActiveBook. This does not work: #target framemaker var book = app.ActiveBook; var folder = book.NewBookComponentOfTypeInHierarchy...

View Article


Table to text

I need to convert all Note, Caution, and Warning tables to text. These tables only have one row. So my concept is:Search through the active FrameMaker document for a tableIf the table has only one row,...

View Article

Boolean Condition Expressions

Unlike Condition Formats, Paragraphs, etc., Boolean Condition Expressions are apparently not stored in a linked list. In ExtendScript, you can get a list of the Expression names with this: var doc =...

View Article


Micropositioning i character-definitions

I'm working on a quite large project in structured FM, where I got a lot of fractions. The content is imported in an xml-file (where I have defined elements for the numerator and the denominator), and...

View Article

Formatting elements with pgfFmt

Hi all, I'm a complete beginner at FrameMaker and scripting of the same, and I've been tasked with converting S1000D documents in XML format into FrameMaker files using an unstructured template. I've...

View Article


Is it possible to conver Frame maker file into PS using FDK

Hi All ,Just wanted to know quickly is there any popsibility to convert Framemaker files into PS (Post Script) using FDK script.We have done successfully conversion of Framemaker to PDF using FDK...

View Article

Setting a condition tag on an element

Hi all, I've got a bunch of XML files that I import to FrameMaker using a custom structured application based on S1000D. I would like to not show some of the data in the XML files in the final FM...

View Article

How to transmit the data?

In this script I create a window with an Edittext field and two buttons. The user can write something in Edittext field. How to read these data? I want to use it like a pattern in regular expressions.I...

View Article
Browsing all 888 articles
Browse latest View live


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