specialFolderPath
Klaus on-rev
klaus at major.on-rev.com
Thu Apr 15 13:45:04 EDT 2010
Hi Charles,
> Klaus,
>
> Thanks! I have a question: How would I create a folder entitled "MyFolder" in the user's document folder using the following script?:
> ask file "My file as: " with specialFolderPath("docs") & slash
...
put specialfolderpath("docs") & "/MyFolder" into tNewFolder
if there is not a folder tNewFolder then
create folder tNewFolder
end if
ask file "My file as: " with (tNewFolder & "/The_New_File.txt")
## Or whatever your filetype maybe
...
> Charles Szasz
> cszasz at mac.com
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list