my own file extention

Fixrobert's icon

Hi list !
I've try the "; max system macintosh fileformat abc TEXT" message to Max so that an "opendialog TEXT" object can allow to choose .abc files.
it doesn't work.
Is there something I've missed ?
thank you

Roman Thilenius's icon

if file.abc is of type TEXT it should work. - is it?

the extension is doing almost nothing on mac, at least it is the last thing the system is looking for when trying to associate documents to executables.

-110

Fixrobert's icon

Thank Roman,
file.abc is definitely of type TEXT (it's saved from a coll).
actually, the exact extention I use is ".sed".
But still, dos not work.
I mean, exactly :
Got "system macintosh fileformat abc TEXT" sent to Max at patcher load.
file.abc saved with a savedialog object.
when I bang an "opendialog TEXT" object, everyfile.txt appear black but all the others, includedfile.abc appear grey, unclickable.
weird

Roman Thilenius's icon

ok from what i can tell offhand normally "type TEXT" should be working for this file.

but i could be wrong, maybe it is some limitation/intelligence of the opendialog object.

please try the importing/reading with [dropfile], [coll], or [text] and see if that works (it should),
then you know if it is a file problem or a max problem.

(aside from the issue that it doesnt open: abc is definetly not the file format
only because the file is called llike that. furthermore, all-small-caps types
are (were) reserved for apple.)

-110

Fixrobert's icon

Ok, I've find.
it's just the dot before abc that was missing in the message to Max.
so it as to be said like : ""system macintosh fileformat .abc TEXT"
sorry and thank you.