Hi, I've used the below code to open the files, but getting an error saying "Internal Error 15024. FrameMaker has detected a serious problem and must quit."
var path = ChooseFile("Browse for file", "", "", Constants.FV_ChooseOpenDir);
var InputFiles = get_File(path,[],['.*'],"FILE");
for(var i=0;i<InputFiles.length;i++){
Open(InputFiles[i],false);
}