<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 24 Feb 2017, at 13:09, Benny Kjær Nielsen wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">On 24 Feb 2017, at 10:57, Max Rydahl Andersen wrote:</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">Last night I made an initial version of a bundle for capture mails to an org-mode inbox.</p>
<p dir="auto">You can try it out here: <a href="https://github.com/maxandersen/org-mode.mmbundle" style="color:#999">https://github.com/maxandersen/org-mode.mmbundle</a></p>
</blockquote>
<p dir="auto">I'm not sure how wide-spread the use of <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">org-mode</code> is, but if the bundle has at least a few users then I'll add it to default set of bundles (if you don't mind) :)</p>
</blockquote>
<p dir="auto">sure, no problem. I made it to be used by others :)</p>
<p dir="auto">Let me add the preference for selecting a location first - i'll let you know.</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">Question though:</p>
<p dir="auto">This bundle appends to my specific location of org files: <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">~/Dropbox/notes/inbox.org</code><br>
I'm wondering if there is a way to handle custom variables like this in mailmate bundles ?</p>
<p dir="auto">like a convention or way to ask for input or similar ?</p>
</blockquote>
<p dir="auto">The <a href="https://github.com/mailmate/todoist.mmbundle/tree/master/Support/bin" style="color:#777">“Todoist” bundle</a> has something like this. It uses <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">defaults</code> to write/read a setting and it uses AppleScript to ask for its value (a string token for the Todoist server API). You can also use AppleScript to ask for a filepath (I don't think there is an example of a bundle command doing that).</p>
<p dir="auto">-- <br>
Benny</p>
<hr style="background:#333; background-image:linear-gradient(to right, #ccc, #333, #ccc); border:0; height:1px" height="1">
<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com" style="color:#777">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate" style="color:#777">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
<p dir="auto">/max<br>
<a href="http://about.me/maxandersen" style="color:#3983C4">http://about.me/maxandersen</a></p>
</div>
</div>
</body>
</html>