LiveCode Server and Getting a List of Files in a Folder

Gregory Lypny gregory.lypny at videotron.ca
Wed Jan 15 15:32:15 EST 2014


Hi Richard, Robert, and Stephen,

Thank you for responding. Richard, I am going to try your suggestion, namely, saving the default folder path:

on listMyFiles
   put the default folder into tSaveDir
   set the default folder to someFolderPath
   get the files
   set the default folder to tSaveDir
   put it
end listMyFiles


I did have a line in my handler that reset the default folder but I was resetting it incorrectly to either empty (on my first attempt) or "/" (on my second). And Richard, you are right, I was messing up the normal path.

Thanks again,

Gregory





More information about the use-livecode mailing list