Quote: gpvillamil wrote on Wed, 02 May 2007 01:37
> How do you specify file types for a "folder" object, in Windows?
> Is it 3 letter extension eg. "AVI", or extension with "." eg. ".AVI", or wildcard eg. "*.AVI"?
> I don’t seem to be getting consistent results with any of these – the folder object just sucks up all the files.
Max began life as a Mac OS app, and the syntax for folder is based on classic Mac OS "type" conventions, which are *n*o*t* filename extensions.
Types are case-sensitive four-character codes (actually, a 32-bit number conventionally represented by four ASCII characters). The mappings from the antediluvian MS-DOS filename extensions are set up in your Cycling ’74/init/ folder. Take a look at max-fileformats for examples, then create your own gpvillamil-fileformats.txt file that maps .avi to, "AVI " or basically anything that isn’t already taken.