[Framers] API or ExtendScript function for Read Application Definitions

Rick Quatro rick at rickquatro.com
Sat Aug 11 09:01:47 PDT 2018


Hi Ian,

Maybe this only works if I use FmDispatch to open the XML file. I want to
read the application definitions programmatically, but not open any xml
files programmatically. The idea is that the user will open a map that could
have various outputs (using different templates/transforms, etc.). I want to
present them with a dialog box asking what kind of output they want. Based
on their selection, I want to be able to programmatically read the
appropriate structapps file so that when they open any topics or create
output, the correct version of the application will be used. Any suggestions
would be appreciated. Thanks.

Rick

-----Original Message-----
From: Framers <framers-bounces+rick=rickquatro.com at lists.frameusers.com> On
Behalf Of ian.proudfoot at itp-x.co.uk
Sent: Saturday, August 11, 2018 6:32 AM
To: 'An email list for people using Adobe FrameMaker software.'
<framers at lists.frameusers.com>
Subject: Re: [Framers] API or ExtendScript function for Read Application
Definitions

Hi Rick that's odd, as I use it in a couple of applications without any
problems. I'll look at my code and see if I've missed anything.

Ian

-----Original Message-----
From: Framers
<framers-bounces+ian.proudfoot=itp-x.co.uk at lists.frameusers.com> On Behalf
Of Rick Quatro
Sent: 10 August 2018 17:06
To: 'An email list for people using Adobe FrameMaker software.'
<framers at lists.frameusers.com>
Subject: Re: [Framers] API or ExtendScript function for Read Application
Definitions

Hi Ian,

This doesn't appear to work. I open the custom structapps.fm document and
use this:

CallClient ("FmDispatcher", doc.id);

where doc is a valid FrameMaker document. But then when I open an XML file,
it doesn't use the settings in the custom structapps.fm. I want to read the
custom structapps.fm file and have it used for the rest of the session or
until I change it. Thanks.

Rick

-----Original Message-----
From: Framers <framers-bounces+rick=rickquatro.com at lists.frameusers.com> On
Behalf Of ian.proudfoot at itp-x.co.uk
Sent: Thursday, August 09, 2018 4:08 PM
To: 'An email list for people using Adobe FrameMaker software.'
<framers at lists.frameusers.com>
Subject: Re: [Framers] API or ExtendScript function for Read Application
Definitions

Hi Rick,
Try this for ExtendScript...

CallClient ('FmDispatcher', structappsfile.id);

Structappsfile is a FrameMaker document object and you have to pass its
Object ID as the second argument.

I hope that helps?
Ian

-----Original Message-----
From: Framers
<framers-bounces+ian.proudfoot=itp-x.co.uk at lists.frameusers.com> On Behalf
Of Rick Quatro
Sent: 09 August 2018 20:22
To: 'An email list for people using Adobe FrameMaker software.'
<framers at lists.frameusers.com>
Subject: [Framers] API or ExtendScript function for Read Application
Definitions

Hello Framers,

 

Is there an ExtendScript method or FDK function for the Structure >
Application Definition > Read Application Definitions? Thank you very much.

 

Rick

 

Rick Quatro

Carmen Publishing Inc.

rick at frameexpert.com

585-729-6746 NEW!

 

 

 

 

_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com

_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com

_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com

_______________________________________________

This message is from the Framers mailing list

Send messages to framers at lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com



More information about the Framers mailing list