Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Error while loading an XML document using a structured application

$
0
0

Hi Pierre, The openDlg method returns an ExtendScript File object, not a string. When you do this:

 

var fileObj = Open(filename, params, retParm);

 

filename is a File object instead of a string. You need this instead to get the full path as a string:

 

var fileObj = Open(filename.fsName, params, retParm);

 

Or, Russ's method should work as well.

 

-Rick


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>