Skip to main content
Participating Frequently
January 28, 2025
Question

Read contents from a structured document

  • January 28, 2025
  • 2 replies
  • 279 views

How to read contents from a structured FM document?


I was trying to identify elements from a text inset and if the element is from a MIF file then want to read the element content.

2 replies

frameexpert
Community Expert
Community Expert
January 29, 2025

What kind of content do you want to read. Do you want the text of each element?

Participating Frequently
January 30, 2025

Hi,

text from each element with a condition, if the element is from a MIF file.
Context: An FM file (main.fm) includes a MIF file. While reading contents from main.fm file, identify and read only 's text from MIF file (A text inset / referenced file).

 

Matt-Tech Comm Tools
Community Expert
Community Expert
January 29, 2025

You can open a structured file in standard (unstructured) FrameMaker...

Are you looking to do that, or asking a question related to ExtendScript?

 

-Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
Participating Frequently
January 30, 2025

hi,

I am trying to read element text using extend script.