Reviewed and revised December 2023
tab(-10, AG_GETOFD); path, filter, title, flags, defExt, type; chr(127); Tab(-10,x) Syntax Notes
AG_GETOFD (47) displays a standard Windows open or save file dialog, such as the one shown below (from Windows 10). This operation can only take place on a GUI-enabled client, either ATE or A-Shell/Windows.
This function has both a subroutine and a print tab implementation.
Parameters
The parameter formats and values are the same as in MX_GETOFD, which is the preferred way of accessing the function.
Response
paths, flags, filename CR
paths may contain one more complete filespecs, separated by chr(10) characters. filename is just the name and extension. See MX_GETOFD for details on the flags.
Example
See Also
History
2013 July, A-Shell 6.1.1355: Filenames containing commas are now quoted; previously they were not, which almost certainly led to incorrect parsing of the response.