• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Accessing the "Read Application Definitions" function from the StructureTools menu

Community Beginner ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

Using extendscript or framescript, is there a way to access the "Read Application Definitions" to read an opened structure file? I'm using Structured Framemaker 11, and I need to update an application definition file to shift between a portrait and landscape layouts.

The keyboard shortcut is alt-r, shift-R if I can just call it from a keyboard shortcut.

Thanks for any help you can give me!

Rick

TOPICS
Scripting

Views

386

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Mar 20, 2017 Mar 20, 2017

Rick

This should do it for ExtendScript:

doc.id is the id of the structured application file.

CallClient('FmDispatcher', 'ReadAppFile '+ doc.id);

Ian

Votes

Translate

Translate
Enthusiast ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

Rick

This should do it for ExtendScript:

doc.id is the id of the structured application file.

CallClient('FmDispatcher', 'ReadAppFile '+ doc.id);

Ian

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

LATEST

This was exactly correct. Thank you so much for the help! With Framescript, the code looks like this:

CallClient FrameClient('FmDispatcher') Message('ReadAppFile '+oCurrentDoc); // oCurrentDoc = document object

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines