specialFolderPath

Devin Asay devin_asay at byu.edu
Tue Apr 13 17:26:55 EDT 2010


Charles,
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"

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the Use-livecode mailing list