scripts or shortcuts ?
-
benny
- Assigned user set to benny
- State changed from new to accepted
No, that is not currently possible. I guess I could make an alternative
insertFormatString:to do something like what you need, but I'm not sure I like that. A better and more general solution is needed. Some of the pieces exist, but not all of them. It is currently possible to filter messages through scripts when displaying or replying to a message (experimental feature), but it is not yet clear how values from the message (like name) should be retrieved (probably the RESTful experimental interface). And in this case, there is also the problem of handling the insertion point before/after the change.Well, I guess one does not rule out the other. I'll consider an
insertFormatString:feature since it seems that is all you need.Any progress on being able to do what you want (in any way) is tracked by this ticket.
Thanks for believing in MailMate :-)
-
benny
- State changed from accepted to fixcommitted
Ok, I added
insertFormatString. It was less than 10 lines of trivial code, so I'll give it a chance. Although I guess I'll now be forced to support the feature forever (or at least until an alternative exists) :-)In the next update of MailMate, you can do:
"x" = ( "reply:", "insertFormatString:", "Hi ${from.name.first},\n\n");The format string format is currently not documented, but it is quite powerful. For now, you'll have to ask me.
You can download a beta here.
-
sergio
Thanks Benny!!
I will try it soon! You are great! If you are so fast... I can continue on my requests :D I'm testing MailMate becouse I want to move a client of mine (I'm a web designer) to MailMate. My client use alot the 'stationery' on Eudora, he is moving to Mail but I think it is not the right choice...
He is an ecommerce website and will be very powerfull to be able to reply with "draft" quickly... for this reason I tryed to create custom shortcuts. I attach an image to explain the elegant version of what I really need...
It will be a great tool to the customercare!!!
-
sergio
Just a note Benny,
I have tryed it using 2637
"x" = ( "reply:", "insertFormatString:", "Hi ${from.name.first},\n\n");but it replay only... with standard text, without add my string. Have I wrong something ?
-
benny
That was strange. I retried it just now and I had no problems. Try sending me any files you have in:
~/Library/Application Support/MailMate/Resources/KeyBindings/You can use the “Help ▸ Send Feedback...” menu item.
Also include the result of the following command:
defaults read com.freron.MailMate MmCustomKeyBindingsNameThanks for the image. I'll note the request for some kind of template support, but it may not be implemented as you suggested.
-
Dries
Hi Benny,
I've tried the below and it's not working for me. Version 1.9 (5067)
"x" = ( "reply:", "insertFormatString:", "Hi ${from.name.first},\n\n");The reply happens, but no text gets inserted. I've checked and it's calling the correct keybindings
-
benny
It appears this functionality has been broken for quite some time. I've fixed it for the next update. That'll be r5074+ (not released yet).
Thanks for letting me know. (This whole issue should be solved much better though.)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
