Let user decide which structured application to use for xml-file import
Hey guys,
I am fairly new to the FrameMaker-scripting-thing. I basically have a folder, full of .xml files that shall be opened with a structured application and then be saved as a .fm file. I can already do that but I have to manually tell FrameMaker which structured application to use (as in How do I load an XML file, and save it as an fm file). But I can't really say which one should be used. I'd rather have the user specify the application once for the first file (maybe even open the dialog that can be seen when manually opening a .xml-file) and use it for the rest of the files as well.
Pseudo-Code:
var structApp = ChooseStructApp();
openXmlFile(filePath, structApp);
Does anyone know how to do anything like that?
Kind regards,
Tom
