File lists

Richmond richmondmathewson at gmail.com
Sun Jul 11 16:18:23 CDT 2010


On 07/11/2010 11:53 PM, J. Landman Gay wrote:
> I need to get a list files in a folder and display it in a card field. 
> The function "the files" doesn't detect OS X "bundle"-type files such 
> as rtfd and Pages documents. Before I reinvent the wheel, does anyone 
> have a script for getting a full file list that includes these special 
> OS X files?
>
> And secondly, since "answer file" does include bundle-type files, 
> shouldn't "the files" detect them too?
>
> Grumble.
>

You may well grumble . . .  :)

I just tried this:

put the folders into fld "fFILES"

pointing at the default folder

Revolution is listed as 'Revolution.app'

all the folder folders (cough) don't have that suffix;
so all you need to do now is set up a script to list
files and append all the folders that end with the suffix .app
to it.



More information about the use-livecode mailing list