Folder problem
Dar Scott
dsc at swcp.com
Thu Jul 4 15:04:01 EDT 2002
On Thursday, July 4, 2002, at 01:50 PM, Yves Coppé wrote:
> If you have the pathway to a folder
> how can I know if the folder is empty or contains one or more files ?
An idea...
Set the defaultFolder to the path and then use the folders and
files functions. Or just files, depending on what you want. I
would guess the values returned would be completely empty. Then
restore the defaultFolder, perhaps.
Look in the Transcript Dictionary for these:
defaultFolder
folders
files
Dar Scott
More information about the use-livecode
mailing list