Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Can't set a default app for opening attachment file type

  • 5 respostas
  • 0 têm este problema
  • Última resposta por Jeff Kern

more options

I'm running Thunderbird 128.2.0esr (64-bit) on a Windows 11 PC. I can't find any way to associate a *.log file with notepad, even though this is the my windows default.

  • Other file types work fine
  • But Notepad isn't in the list when I double-click the file and I have to browse for it every time.
  • When setting the default for another file type, it said this could be changed in "Options". I have Settings, but not Options. Under Menu > Settings > General, it has "Files & Attachments". Under this there are 2 columns: Content Type and Action. The only thing listed is Portable Document Content (PDF) and no way to add anything.* Bulleted list item
I'm running Thunderbird 128.2.0esr (64-bit) on a Windows 11 PC. I can't find any way to associate a *.log file with notepad, even though this is the my windows default. * Other file types work fine * But Notepad isn't in the list when I double-click the file and I have to browse for it every time. * When setting the default for another file type, it said this could be changed in "Options". I have Settings, but not Options. Under Menu > Settings > General, it has "Files & Attachments". Under this there are 2 columns: Content Type and Action. The only thing listed is Portable Document Content (PDF) and no way to add anything.* Bulleted list item
Capturas de ecrã anexadas

Solução escolhida

Thanks. openattachmentbyextension appears to be incompatible with version 118. But after understanding the risks, I don't think I want to use it anyway. I've solved the problem with the sender.

Ler esta resposta no contexto 👍 0

Todas as respostas (5)

more options

The problem is that the dialog in your first picture doesn't show the checkbox to have the setting stored in Files & Attachments, probably because the attachment is encoded as application/octet-stream. Try this: create a new file with your text editor and save it as sample.log with Save as type: All Files *.*, then send it to yourself as an attachment. When you open the attachment, you should see the dialog in the attached picture. Click the Open with drop-down to select the helper app (if it isn't the default), and check the 'Do this automatically...' box. Then see if log files you receive as attachments open automatically in your chosen app.

To make text attachments display inline, toggle mail.inline_attachments.text to true in Settings/General, Config. editor.

Útil?

more options

Thanks for your reply. When I do as you say, the *.log file that I created opened automatically when I clicked it. So there was no dialog box for me to try the rest.

Útil?

more options

Update: The problem was with how the file was encoded by the sender. Thunderbird properly interprets the file as a text file when this was solved. However it would have been nice if Thunderbird would have given me the ability to assign an app to that file extension.

Útil?

more options

Útil?

more options

Solução escolhida

Thanks. openattachmentbyextension appears to be incompatible with version 118. But after understanding the risks, I don't think I want to use it anyway. I've solved the problem with the sender.

Útil?

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.