

I’m not much of a Python person if anybody has any suggestions, I’d be happy to hear them. Unknown entities can be added to html2text, but I’m not entirely sure what to do about unencoded entities. The most common cause of this seems to be the presence of either unencoded entities or unknown entities in the HTML. Occasionally, Mail Headline will be unable to translate an article to plain text. If a web page tab is selected, the email will only contain the article title and the article URL. If the News tab is selected, the email will contain the article title, the article URL, and the article text. Mail Headline will create an email containing NetNewsWire’s current content at the time the script is run.

#FASTSCRIPTS LITE VERSION INSTALL#
You are, of course, free to install the script wherever you find it most functional for your workflow. As such, I recommend using something like the system script menu or FastScripts.įor this scenario, move Mail Headline.scptd to either ~/Library/Scripts/Applications/NetNewsWire/ or /Library/Scripts/Applications/NetNewsWire/. As of version 3.0, NetNewsWire does not support running script bundles from the menu. Mail Headline cannot be run from NetNewsWire’s built-in script menu.

To configure, open the script in Script Editor and uncomment the set emailClient to. Mail Headline 1.0.1 (24.0 KB) Updated AugInstallationīefore running Mail Headine, it needs to be configured for your email client. Using whatever syntax applies for the specific email client, adding the script information to the main Mail Headline script, and installing the new client script in Mail Headline.scptd/Contents/Resource/Scripts. Adding additional email clients is just a matter of writing a small script of the form: on CreateEmail(subjectText, bodyText)

This script originated as a way to send articles using Mailsmith, I’ve since added support for Entourage and Mail (if you prefer plain text to rich text). Mail Headline converts the currently selected to Markdown-formatted plain text using Aaron Swartz’ html2text script.
#FASTSCRIPTS LITE VERSION UPGRADE#
There’s more, but the real choice is whether to upgrade to the $15 full version, which has even more bells and whistles.An AppleScript solution for mimicking NetNewsWire’s “Mail Contents of This News Item” functionality with email applications other than Mail. The menu has a couple of other enhancements… for example, it puts the scripts for your current application at the top of the menu rather than at the bottom (as Apple’s menu does). (Free or 39.95 for premium features, 19.95 upgrade, 5.9 MB, release notes, macOS 10. You’re limited to 10 shortcuts with the Lite version, but that may be enough for most people. FastScripts is free to use, with premium features that work but display reminders that disappear upon payment. Almost as significant, FastScripts Lite lets you attach keyboard shortcuts to any Applescript on your system. Most significantly, FastScripts Lite avoids switching contexts unnecessarily when running an AppleScript-that is, you can run scripts without being yanked from your current application, as long as there’s no functional need for that. Using FastScripts Lite is a no-brainer… it’s free, and adds significant value to Apple’s built-in Script menu. With a new free “light” version out, it’s time to take a second look at this Applescript utility, which supposedly improves on Apple’s script menu, among other things.
