Introduction to the Interface - Scripting Guide

OpenDlg, SaveDlg Object: Properties and Methods

Properties
DefaultExt Sets the default file extension (do not include a period)
Filename The selected file in the dialog's file list
InitialDir Changes the default directory of the dialog
Title Sets the caption in the title bar
Methods
Execute Displays the file selection dialog