I don't understand very well what the function does, since it passes integer parameters to it. Any code or ideas would be appreciated. Thanks in advance.
This seems to be a question about the Windows operating system rather than about Notes; I would refer you to the Windows operating system function descriptions in MSDN for a full description and examples.
If you just want to open a file picker dialog in Notes and get back the selected filename, you might look at @Prompt([LOCALBROWSE]...). To use this in LotusScript, you'd have to do something fancy. For instance, write an action in macro language such as:
t := @Prompt([LocalBrowse]; "windowtitle"; "C:");This is not quite the same thing as the "save as" dialog, but it works on all operating systems.
@If(t = ""; @Return(""); "");
ENVIRONMENT Param1 := t;
@Command([ToolsRunMacro]; "your LotusScript agent")
This was first published in May 2003