answer file tMsg with tPath
Ken Ray
kray at sonsothunder.com
Fri Jul 11 17:35:01 EDT 2003
> but it seems that defaultPath actually expects the path to end in a
> filename not a folder because this works:
>
> put specialFolderPath("Documents") & "/myfile" into tPath
> answer file "select a file" with tFile
Actually it probably needs to end in a "/", since specialFolderPath()
returns folder paths without trailing slashes.
Try this:
answer file "Select a file:" with (specialFolderPath("Documents")&"/")
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list