On Oct 7, 2006, at 5:55 AM, Lennox Jacob wrote:
Hello,
I would like my app save its files to a specific folder, the folder
is located in :
My Files Hard Drive /My docs / My New docs
I have this:
f=GetSaveFolderItem("text",FileName)
and that brings up the save dialog
Kindly advise.
Check out the DocumentsFolder Function.
If the files are to be in a folder in the user's Documents folder on
Mac or the user's My Documents folder on Windows, the folderitem to
that folder can be created by:
Dim f as Folderitem
f=DocumentsFolder.Child("My New Docs")
You must check for f.exists and f<>Nil before you try to write to it.
You wouldn't use GetSaveFolderitem because you have a specific folder
specified and you don't want the dialog.
Terry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>