将当前电子邮件从 Thunderbird 导出到外部进程
我想创建一个扩展,在 Thunderbird 中添加一个工具栏按钮。按下该按钮时,将启动外部应用程序,并将当前邮件消息的文本导出到该应用程序。
您知道已经有一个扩展可以做到这一点吗?如何编写这样的扩展?我应该学习什么才能做到这一点?
(我是创建 Mozilla 扩展的新手)
I would like to create an extension which adds a toolbar button in Thunderbird. When pressing the button, an external application is launched and the text of the current mail message is exported to that application.
Do you know about an extension which already do that? How to write that kind of extension? What should I study to be able to do it?
(I am a newbie to creating Mozilla extensions)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,扩展开发对于初学者来说并不友好。
您可以从以下链接开始:https://developer.mozilla.org/en/Extensions/Thunderbird< /a> .
我建议您使用 Netbeans 和 Foxbeans 插件来创建扩展的样板项目。
还有每个开发人员必须拥有的扩展:开发助手。
现在介绍进程间通信。这是最棘手的部分。我在这里看到唯一可能的解决方案。就是创建XPCOM组件并在那里实现所有的IPC。这是一个漫长而艰难的故事。您应该熟悉 C++,并且您应该准备好花费一周以上的时间来完成所有这些内容......
Unfortunately, extension development isn't friendly for beginners.
You may start with this link: https://developer.mozilla.org/en/Extensions/Thunderbird .
I'd recommend you to use Netbeans and foxbeans plugin to create extension's boilerplate project.
Also there is extension which every developer must have: Developer Assistant.
Now about inter-process communications. It's most tricky part. I see the only possible solution here. It is to create XPCOM component and implement all IPC there. It is long and hard story. You should be comfortable with C++ and you should be ready to spent more than a week for all this stuff...