File lists

Jim Ault jimaultwins at yahoo.com
Fri Jul 16 11:08:04 EDT 2010


> On Jul 16, 2010, at 7:49 AM, Richard Gaskin wrote:

> I think I missed something earlier in this thread - why not use  
> RevTalk's "files" function?:
>
>
> function FileList pFolder
>   put the directory into tSaveDir
>   set the directory to pFolder
>   get the files
>   set the directory to tSaveDir
>   return it
> end FileList
>

Yes, Richard, long thread.
Jacque was trying to find a way to detect the different types of  
Finder items, such as packages and folders and bundles.

Kay C Lan showed how to use the AppleScript language to do this, thus  
you need to ask the Finder.

... and now how to ask the Finder for files using one of Kay's examples.



Jim Ault
Las Vegas




More information about the use-livecode mailing list