devin_asay at byu.edu
Tue Apr 13 16:26:55 CDT 2010
On Apr 13, 2010, at 3:02 PM, charles61 wrote:
> I just started using specialFolderPath to save documents made with my app. I
> tried the following for the Mac:
> ask file "My file as: " with specialFolderPath("docs")
> which opens up the file dialog box showing Save My File as: Documents
> instead of opening the Documents folder with Save My File as:
> What am I missing here?
The trouble is that ask file will assume that the last part of the file path is supposed to be the name of the new file. Try this instead:
ask file "My file as: " with specialFolderPath("documents") & "/untitled.txt"
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode