SaveFileDialog Method
The SaveFileDialog method displays a 'save file' dialog.
Syntax
[filename=] SiteCafe.UserInterface.CommonDialogs.
SaveFileDialog(parentwin, filter, dir, file)
|
Parameters
parentwin |
Handle to the parent window. |
filter |
String that specifies the file filter. |
dir |
String that specifies the initial directory. |
file |
String that specifies the initial filename. |
Return Value
Returns a String that contains the absolute path of the saved file.
Remarks
Examples
The following example displays a 'save file' dialog and shows the selected filename in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
dialogObj = SiteCafe.UserInterface.CommonDialogs;
alert(dialogObj.SaveFileDialog(0, "*.txt", "c:/dir", "filename.txt"));
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top