Skip to main content
Participating Frequently
Jan 28, 2025 11:54 AM UTC
Question

Read contents from a structured document

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.

4 replies

frameexpert
Community Expert
Community Expert
Jan 29, 2025 10:08 PM UTC

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

Translate
www.frameexpert.com
Participating Frequently
Jan 30, 2025 6:35 AM UTC

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).

 

Translate
Matt-Tech Comm Tools
Community Expert
Community Expert
Jan 29, 2025 7:45 PM UTC

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

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

 

Translate
-Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
Participating Frequently
Jan 30, 2025 6:32 AM UTC

hi,

I am trying to read element text using extend script.

Translate