[MlMt] debugging event scripts
I'm trying to understand event scripts a bit more, with a hope that I might be able to get better formatting when replying to HTML messages. I tried to enable the debug logging of event details with: defaults write com.freron.MailMate MmDebugScripts -bool YES but I don't see any messages in the console app. Is that still the right way to enable this debug logging? It's quite likely that I'm looking in the wrong spot (I've been mainly looking at the system log). thanks! -Andrew ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate
[MlMt] Markdown strikethrough support (was Re: problem with forward vs forward as attachment)
On 13 Nov 2014, at 18:37, Benny Kjær Nielsen wrote: You are not doing anything wrong. MailMate is plain text only in the composer and in some cases MailMate fails to convert the message to plain text and therefore chooses to forward as attachment instead. I have some ideas for how I can improve this (handling HTML messages), but I haven't had time to implement it yet. On a possibly-related note, I have a Markdown question. Gruber’s docs don’t list any means of indicating strikethrough, but say that inline HTML *should* work. is the HTML tag for strikethrough, but it doesn’t get converted in MailMate. Neither does style=“text-decoration:line-through”¹>, CSS’ rather wordier replacement for . Is this intentional or a bug? I don’t need to use strikethrough often, but when I do, not being able to do so is frustrating. -- David O’Donnell ¹ Even with me making **absolutely certain** my quote marks aren’t educated in the editor.___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate
Re: [MlMt] problem with forward vs forward as attachment
On 13 Nov 2014, at 17:20, Paula Coelho wrote: i'm having a problem when I need to forward a message that contains attachments. It always creates a new message as in the "forward as attachment" option, regardless of what I choose in the menu/buttons. But that is not what I need because often I want to delete only one file among the attachments or highlight something in the forwarded text etc. But I can't edit the messages and remove individual files if they are forwarded as attachment. what is it the I'm doing wrong? You are not doing anything wrong. MailMate is plain text only in the composer and in some cases MailMate fails to convert the message to plain text and therefore chooses to forward as attachment instead. I have some ideas for how I can improve this (handling HTML messages), but I haven't had time to implement it yet. Off topic: Those of you running the experimental 64 bit version of MailMate might want to try the latest test release. I haven't released it as a beta yet, because I've made substantial changes. It seems to work quite well for me though. I'll welcome some feedback. -- Benny ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate
Re: [MlMt] Reply to selected message with AppleScript
On 13 Nov 2014, at 10:55, Nick Renders wrote: Thank you for your reply and the example bundle. The "replyMessage" action seems to do what I would like, except that the message isn't displayed in a new window but is instead automatically saved in Drafts. Yes, I should probably add an option to open a composer window. Can I call bundle commands from another application than MailMate? No, except for GUI scripting I guess. I tried to call your bash script from the Terminal, That won't work. with MailMate open in the background, but nothing happened. You want to create a reply to a message selected in MailMate, but trigger it from the Terminal? Or are you trying to do something not involving selected messages? -- Benny ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate
[MlMt] problem with forward vs forward as attachment
hello, i'm having a problem when I need to forward a message that contains attachments. It always creates a new message as in the "forward as attachment" option, regardless of what I choose in the menu/buttons. But that is not what I need because often I want to delete only one file among the attachments or highlight something in the forwarded text etc. But I can't edit the messages and remove individual files if they are forwarded as attachment. what is it the I'm doing wrong? paula ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate
Re: [MlMt] Reply to selected message with AppleScript
Hi Benny, Thank you for your reply and the example bundle. The "replyMessage" action seems to do what I would like, except that the message isn't displayed in a new window but is instead automatically saved in Drafts. Can I call bundle commands from another application than MailMate? I tried to call your bash script from the Terminal, with MailMate open in the background, but nothing happened. Thanks, Nick On 9 Nov 2014, at 14:12, Benny Kjær Nielsen wrote: On 7 Nov 2014, at 13:20, Nick Renders wrote: I have a question about MailMate and AppleScript. I would like AppleScript to create a Reply email to the selected message and automatically add some text to it. I understand you can do this with the "open location" command and setting all the necessary parameters like "subject", "body" and "in-reply-to". Well, that's primarily for new messages and not replies. The [`emate`](http://manual.mailmate-app.com/emate) command can also be used for this when it's more convenient. My question is: can I get the value for those parameters for the selected message with AppleScript? Or is there perhaps a better/easier way to create a Reply email with AppleScript? I have been thinking about using the COM+R shortcut through System Events, but that seems like bit of a hassle. The best way to do this is to use a bundle command. This is still badly documented (and incomplete), but it might work well enough for you. To help you out I've created a bundle which you should place in this folder (create it): ~/Library/Application Support/MailMate/Bundles/ I've added a single command named “Generate Reply”. It calls a bash script, but it could be any kind of script (Ruby, Python, AppleScript, …). It just has to return a property list specifying a `replyMessage` action (as also shown by my example). You can find the command in the “Command ▸ Arcict” menu after saving the bundle. The only documentation is [this mailing list message](http://www.mail-archive.com/mailmate%40lists.freron.com/msg02477.html). Depending on what exactly you are trying to do, you might need more help, but this is a starting point. -- Benny [Arcict.mmBundle.zip] ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com http://lists.freron.com/listinfo/mailmate