I am working with an ActiveX control in Internet Explorer 8 that is to display a save file dialog which let\'s the user choose a file name and file type (jpg, gif, etc). Th
Edit: It seems that it's not possible to have "out" parameters in JavaScript/JScript.
Original: Perhaps the approach described in this article will work:
var saveFileName={}, saveFileType={}; // Empty "output" objects.
gxVideoPlayBack.SaveFileDialog("image", saveFileName, saveFileType);
alert(saveFileName.value); // The "value" attribute is assigned ...
alert(saveFileType.value); // ... by the "SaveFileDialog" method?
I suppose the idea is that the WSH wrapper for this native call will attempt to assign the "value" property of the given output parameters, so you can either override the value setter or just give it an object with a built-in value setter.