Thanks. That clarifies the issue for me. Since this is a Mac-only
function, I have no problem using an external. Cleaner code and
probably faster response.
Robert
>I have filtered a file list by file type using the AppleScript
>function in the Externals collection, which can be downloaded from
>
>http://www.xworlds.com/metacard/
>
>As far as I am aware, there is no way to do this without using
>AppleScript to find out the file type. There has been some recent
>discussion of doing some AppleScript commands without using the
>external - check the list archives.
>
>I've included a modified version of my filtering function below. It
>basically goes through the file list and creates a new list of files
>that are either GIF, JPEG, or PICT files. You can easily modify it
>to your needs. You'll notice that I've jumped through some hoops to
>make sure the directory and file names are correct. This is
>necessary because MetaCard uses the Unix standard "/" character as
>the separator in path names (replacing the Mac's ":"). It's more
>complicated on the Mac because Mac folder and file names can have
>"/" in them; in this case, MetaCard replaces "/" with ":" in file
>and directory names.
>
>Hope this helps.
>
>Regards,
>David Tremmel
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.