That’s very cool!
This suggests, to me, to create a separate AppleScript for logging emails to Captain’s Log.
In my conception, I wouldn’t need each of those attributes. Basically just the URL. I don’t need to replicate the contents of the email in the log, just record that I received it (for whatever reason that made it worthwhile to log, maybe my reaction to it or whatever), and a link to the original email.
I see how you’re constructing the URI (msgURL) using
"message://%3C" & msgID & "%3E"
It makes me wonder if the case of C and E is irrelevant?
So I think I’ll take your script, modify it, and then add it to the FastScripts Menu for Mail. I’d keep the same Title and Text dialogs as they, together with $Created, are the essential elements of a “log entry.” Then I wouldn’t need an OnAdd in a day’s container to move the URI from $Text to $URL as it’d be populated that attribute directly from the Mail AppleScript.
Likewise, a similar AS in the FastScripts menu for Safari to Captain’s Log.
I haven’t completely figured out what I want the interaction with Calendar to be.
The log isn’t intended as a planning document. There’s a feature that allows you to attach an Automator action to an Alert for an event (I just looked and it must be “Open File,” I’m not sure. I’m relying on watching old YouTube videos, maybe the functionality has changed), and I thought that I might, for certain events, have an entry automatically created in the log.
Medical or dental appointments, or social events, as those are the kinds of things that you’re AFK, and maybe you remember to log them when you get back or maybe you don’t. But if Calendar does it for you, no worries.
Apart from long-form entries, the log is intended as a memory aid, “When was the last time…?” (I changed the air filter. We had dinner with Faith and Rick. etc.)
I don’t need to replicate the data contained in apps better designed to contain that information, I just want to be able to get to it quickly. Presumably “Search” answers many of those questions, but I think a lot of that can be be more useful in a broader context of a personal timeline, which is what the log is intended to be.
But this has been very helpful, and has given me a new direction for making entries from other apps.
And don’t take my comments to say I think “you’re holding it wrong.” There are many ways to configure such a “log” document to suit each individual’s needs or purposes, and I’m sure they’re all different.
I think it’s remarkable that we have such a facility available to us, which rewards time spent learning Tinderbox.
Thanks again.