[MlMt] Run bundle command on composer window?
James Sulak
jsulak at gmail.com
Wed Nov 23 10:56:46 EST 2016
FWIW, what I ended up doing was creating a hotkey in Alfred that triggered
the following applescript:
on alfred_script(q)
tell application "MailMate"
perform {"saveDocument:"}
perform {"performBundleItemWithUUID:",
"7b14f458-1847-11e5-b60b-1697f925ec7b"}
perform {"send:"}
end tell
end alfred_script
The bundle uses applescript to create a omnifocus task with the correct
properties.
On Mon, Nov 14, 2016 at 4:02 AM, Benny Kjær Nielsen <mailinglist at freron.com>
wrote:
> On 12 Nov 2016, at 21:32, James Sulak wrote:
>
> Is it possible to run a bundle command with the message in the composer
>> window as a target, instead of the currently selected message in a folder?
>>
>> What I am ultimately trying to do is create a command that will allow me
>> to create a task in Omnifocus reminding me to follow up with the recipient
>> of the email I am sending. I have a command to create a task based off of
>> the selected message, but when sending a message, that requires me to write
>> the message, send it, then find the message in the “sent” folder and run
>> the command. I’m looking to streamline that.
>>
>
> Sounds like you could just add a rule to the “Sent Messages” mailbox. This
> would be triggered when MailMate has sent a message and then moves it from
> Drafts to Sent Messages. If you don't always need this to happen then you
> could add a tag condition to the rule and then use the optional Tags header
> in the composer to be able to tell MailMate whether or not the rule should
> be used. You could, e.g., name the tag OmniFocus since then you could also
> easily see in MailMate which emails have been sent to OmniFocus.
>
> --
> Benny
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20161123/c2c39f02/attachment-0001.html>
More information about the mailmate
mailing list