Mark Smith mark at
Sun Dec 9 00:19:05 EST 2007

As far as I can tell, a bundle (package) doesn't have a .DS_Store  
file at it's top level. This seems to apply to all  
the .bundle, .app, .rtfd, and .pages packages I've looked at so far.  
Empty folders seem to have no .DS_Store either.

function isPackage tFolder
   set the directory to tFolder
   put tFolder & "/.DS_Store" into tFile
   return (there is no file tFile) AND (the files is not empty)
end isPackage

which will still miss an empty package...



On 9 Dec 2007, at 03:50, Chipp Walters wrote:

> Good one Sarah, now how to create an
> isBundle() function without the answer file command?
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:

More information about the Use-livecode mailing list