On 7 Dec 2013, at 13:55, Benny Kjær Nielsen wrote (with possible
deletions):
On 6 Dec 2013, at 22:35, Torsten Grust wrote:
Now, I'm not sure exactly how you want this to work, but it's
certainly possible to create a command which based on the currently
selected message (or selected text in the message) can create an
event in BusyCal/iCal/Fantastical (3 more bundles to be created).
How would a command receive the currently *selected* text (as opposed
to the entire
message text)?
The latest test versions actually provide selected text instead of the
canonical text when `canonical` is the input type and something is
selected, but I'm probably not going to continue to do that (don't
rely on it). I've also added a `selection` input type and I think I'm
going to keep that and then make this, optionally, fall back to the
whole text if there is no selection (like TextMate).
Ah. Thanks! Input type 'selection' works well as far as I can tell
(build 3880).
Well, BusyCal as well as Fantastical come with quite sophisticated
date parsers
that are exposed via the URL scheme and AppleScript, respectively.
It could be an
option to simply rely on these (for now).
I actually didn't ready the details of the BusyCal URL scheme. This
could perhaps work well.
Playing with it now.
Cheers,
--Torsten
--
| Torsten "Teggy" Grust
| [email protected]
_______________________________________________
mailmate mailing list
[email protected]
http://lists.freron.com/listinfo/mailmate