
MATLAB attachments don't open in TextEdit
I understand how to set applications for types on a Mac. However, there is a problem.
When I receive an email with a .m file (MATLAB), it should open in TextEdit (on a Mac) because that is the application I have set on my machine. I have also set unknown types and plain text to open using TextEdit. But Thunderbird opens a copy of the email message in another window and includes the .m file as an attachment. It seems to ignore that the default application is set to TextEdit.
Chosen solution
If you open Preferences(or AppMenu/Options/Options)/Attachments/Incoming, is there an entry for .m content type files? If so, delete it by clicking the Action drop-down, OK, restart TB, double-click (Open) a .m attachment, and set the default application for .m files; if TextEdit isn't displayed, click the 'Open with' drop-down, Other... and browse to the TextEdit program.
On my Win 7 system, the default text editor is already offered as the default program for opening .m attachments, and the attachment is displayed inline as plain text.
Ler a resposta no contexto 👍 1All Replies (1)
Thank you. I did this and it seems to work. But I am confused why. ".m" files seem to show up as plain text files in the default applications list. I already had an entry that mapped plain text files to TextEdit. So it should have worked before.
Anyway, deleting the plain text file entry and following the steps above seemed to work.
Now, whether I am opening a .m attachment in an email I have received, or opening it in an email I am composing, everything works fine.
Thanks a bunch.