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
Rick
This should do it for ExtendScript:
doc.id is the id of the structured application file.
CallClient('FmDispatcher', 'ReadAppFile '+ doc.id);
Ian
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
Copy link to clipboard
Copied
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