strategies for the default "answer file"

Monte Goulding monte at sweattechnologies.com
Wed Sep 3 14:26:00 EDT 2003


> I just need to reliably present a file selection dialog and a folder
> selection dialog to a specific directory on all supported platforms.  What
> are the rules?
>

>From the docs:

The defaultPath is the name and location of the folder whose contents are
listed when the dialog box appears. If no defaultPath is specified, the
dialog box lists the contents of the last folder you used with a file dialog
box.

The difference is OS X seems to remember the last folder location over
multiple sessions whilst Windows defaults to "My Documents" at the start of
each session.

Regards

Monte



More information about the use-livecode mailing list