Posts tagged with "automation"

SearchLink: Markdown Links Without The Browser

I don’t know how Brett Terpstra finds the time to do everything he does, but I do know I enjoy the results.

Brett’s latest effort is SearchLink, a system Service to generate Markdown links automatically for a variety of web services. In Brett’s words:

SearchLink is a System Service for OS X that handles searching multiple sources and automatically generating Markdown links for text. It allows you to just write, marking things to link as you go. When you’re done, you run it on the document and — if your queries were good — have your links generated automatically without ever opening a browser.

Essentially, SearchLink is a Ruby script that, in the background, generates valid Markdown for inline links inserted in plain text. These can be links pointing to a Google search, a Mac App Store or iTunes search, last.fm, Wikipedia, and more. Instead of having to switch to the browser when you’re writing, you can just write using SearchLink’s simple syntax. Once you’re done, run the Service, and SearchLink will contact web APIs to transform your text into the first/best result for your query, formatted in Markdown. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Drafts 2.2 Adds Custom Email Actions

Agile Tortoise’s Drafts for iPhone and iPad is one of my most-used apps for iOS. It sits on the Home screen of both my devices, and I rely on it to send text to a variety of apps and services. With a combination of support for URL schemes and external APIs, Drafts has become a fantastic way to get text saved somewhere else quickly. Plus, we’ve been following Drafts here at MacStories for a while now, and the app underwent quite the evolution recently.

After the major 2.0 update (our review here), I have been looking forward to version 2.2. Released today (app is version 1.2 on the iPad), Drafts now includes new actions for Nebulous Notes (a personal favorite of mine), Netbot, Notefile, and Pastebot. It’s also got a new “Use First Line as Title” setting and advanced options for actions.

More importantly, Drafts 2.2 comes with support for custom email actions, which is the reason I’ve been using Captio for the past two years. It’s with a bit of sadness that I drop Captio, but the app hasn’t even been updated for the iPhone 5 yet, and Drafts does so much more. Custom email actions allow you to send emails to predefined addresses using either your own email accounts, or a background service provided by Agile Tortoise. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Faster Markdown Editing with Nebulous Notes Macros

I have written about Nebulous Notes before. Back in August, I posted an overview of my workflow with the app, plain text, and Markdown:

Combining Nebulous’ support for text substitution and cursor position macros has enabled me to achieve a powerful workflow when it comes to writing in Markdown. For instance, I can select words I want to turn into inline links, and have the app automatically wrap them between square brackets, and paste the contents of my clipboard (the link) to the right. To copy Markdown-ready links, I use my own bookmarklet. Or if I want to create a list, I can hit a button that inserts an asterisk and a space. Or again, if I need to create a text file with a format that OmniOutliner recognizes correctly, I can indent items with Nebulous’ $tab and $cursor macros.

Since then, a major 6.0 update to the app has been released, which, in my opinion, deserves another look. For the occasion, I’ve put together a few videos showing how I use the macros I have created for easier and quicker Markdown (more specifically, MultiMarkdown) formatting. The videos were recorded on a Mac using QuickTime capturing an AirPlay Mirroring session through Reflection. I have embedded them here using the video tag supported by most modern browsers (video files are encoded in MPEG-4). For Firefox users, there’s a fallback to Theora .ogv files (converted using ffmpeg2theora). I will also make my macros available for download at the end of this post. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Change Text Case With AppleScript

Last night, I was looking for a quick way to change a string of text from lowercase to Title Case, which is the format I use for headlines here at MacStories. Normally, I would recommend installing WordService by DEVONtechnologies, but that’s a system Service, and I don’t seem to be able to install those without logging out and back in (I didn’t want to log out).

As I’ve come to learn lately, when you’re looking for ways to automate your Mac, the solution has likely already been posted on MacScripter. Among all the possible combinations of AppleScript to change text to a particular case format, I like this one by forum member “kai”. Essentially, the script takes the someText property and transforms its text items through changeCase to four possible options: upper, lower, title, and sentence.

To customize the script to my needs, I set someText to get the contents of my clipboard, change the case, then turn the result over to the clipboard again. In this way, I can select any text, copy it (so the original version is available in ClipMenu’s history), change the case, and paste back. To run AppleScripts with a keyboard shortcut, I use either Keyboard Maestro or Alfred.

Check out the AppleScript here.

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Send Favorite Tweets To OmniFocus’ Inbox

In my daily “social networking workflow”, I use the “favorite” feature of Twitter as a todo list of sorts. I couldn’t find a way to add favorites to OmniFocus without leveraging email as a bridge, so I built a solution myself.

Using IFTTT, a single line of bash, Hazel, and AppleScript, I created a simple way to turn a favorite tweet into an OmniFocus task in the application’s inbox, ready for future processing. As an extra, I have also created a more “advanced” version that adds Automator to the mix to only extract URLs from favorite tweets. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Turn URLs and Webpages Into PDFs In Your Dropbox

I stumble across a lot of interesting webpages on a daily basis. Sometimes it’s a video I want to watch later; sometimes it’s an article I don’t have time to read right away. Other times, I find a webpage that I want to keep around for future reference. For me, there’s a difference between articles to read later and reference material: whereas a new item added to Instapaper has a short life span in terms of attention (read, share, archive), a webpage I want to keep around forever needs to be turned into a document I can read anywhere, highlight, annotate, and carry around between platforms and devices. For that, I like PDFs.

I keep a “PDFs” folder in my Dropbox that contains all the documents I check upon regularly for work and personal purposes. They can be eBooks, tutorials, or guidelines from Apple that are essential to my writing online. Thanks to the increasing support for cloud services in apps like PDF Expert, GoodReader, and iAnnotate, I can keep a single copy of a PDF in my Dropbox, use the app I want to annotate the document with, and forget about duplicates thanks to sync. Furthermore, I’m fairly sure that, due to their popularity, PDFs will still be readable and supported 20 years from now, so I don’t have to worry about data preservation and file formats.

Lately, I have become obsessed with turning longer articles I find on the Internet also into PDFs for long-term archival. For as much as I like Instapaper, I can’t be sure that the service will be around in the next decades, and I don’t want my archive of longform and quality content to be lost in the cloud. So I have come up with a way to combine Instapaper with the benefit of PDFs, Dropbox, and automation to generate documents off any link or webpage, from any device, within seconds.

(Disclaimer: what follows is an explanation of a hack I created for personal use. It uses publicly available tools and apps to fill a personal need. You shouldn’t create PDFs off websites and redistribute them – you should support the sites you read instead).

In short, I use the Instapaper Text bookmarklet to fetch a webpage’s text and images (while preserving hyperlinks and great typography) and I convert the resulting page to PDF using wkpdf. Created by Christian Plessl, wkpdf is a command line tool that uses WebKit and RubyCocoa for rendering HTML content to PDF. Since wkpdf uses WebKit’s HTML rendering, it can generate good-looking PDFs that maintain most CSS2 and CSS3 stylings and properties. I have tried another command line tool for file conversion, Pandoc, but I like wkpdf better for straight HTML to PDF conversion. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Plain Text, Macros, Markdown, and Nebulous Notes

Nebulous Notes

Nebulous Notes

If there’s a category of iOS apps I’m always interested in checking out, that would be text editors. I write for a living, and while a better app won’t make me a better writer, a text editor that works for me can make me type and research more efficiently. Text editors are tools, and I’m always curious to see whether the market is offering new ones to get the job done with faster, smarter techniques. As Gabe said, fiddling often gets a bad rap, but my fiddling with text editors has actually allowed me to find apps that facilitate the only process that matters: typing words on a screen.

In the past year, I have taken a look at several text editors. I compared my favorite ones – picking Writing Kit as my go-to editor and research app – but I also kept WriteUp on my iPad’s Home screen, as the app received some interesting updates including iCloud support and swipe text selection. For the past two months, though, I have found myself coming back to another text editor that I had been previously recommended by various Internet pals: Nebulous Notes. And in spite of my publicly stated praise for Writing Kit, I have been getting lots of writing done with it – so much that I haven’t used any other app for my posts and notes. Read more

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.


Launch Center Pro and OmniFocus

 Launch Center Pro and OmniFocus

Michael Schechter has created a series of Launch Center Pro templates to speed up the creation process of repetitive tasks in OmniFocus for iPhone, inspired by David Sparks’ snippets for TextExpander and OmniFocus for Mac. With actions to easily attach the contents of the clipboard to a new task or setting up a reminder to follow up on something with a colleague, Michael’s snippets can be huge timesavers if you’ve been looking for a way to automate certain aspects of OmniFocus on the iPhone.

All I’ve done here is create a new group in Launch Center Pro called OF Actions. This allows me to have 11 rapid-fire actions for my most commonly created tasks. Rather than 11 unique actions, I’ve actually created duplicates for most that include whatever I have on the clipboard. This way I have a version that duplicates the Quick Entry field and another that emulates some aspects of the Clipper.

Based on OmniFocus’ new URL scheme and Launch Center Pro’s support for prompts (more details in our review of the app), these snippets won’t offer the same degree of customization found in desktop solutions like the aforementioned TextExpander or Keyboard Maestro, but they surely are the best way to automate OmniFocus on the iPhone for now. Because of the nature of iOS, you won’t be able to set up scripts that, for instance, let OmniFocus communicate with other apps automatically, but at least you’ll be saving some typing and navigation inside the app.

Inspired by Michael’s work, I have set up actions to access my most used perspectives and a new one called “Review Latest” that makes up for the lack of an Inbox perspective on iOS (as it’s project based rather than context based) and displays the latest tasks I may have added without a context or due date using Captio. Furthermore, I have assigned a scheduled reminder to the action, so that every day after dinner I’ll be reminded by Launch Center Pro to process my newest tasks created throughout the day.

The Omni Group’s Ken Case also chimed in on Twitter explaining how OmniFocus URLs work, and Justin Lancy collected the tweets in a Storify bundle. Nick Winja took a look at how it’s possible to access contexts via URL, as well.

You can see the full text for Michael’s Launch Center Pro snippets here.

Permalink

Hazel 3.0 Adds Nested Rules, UI Improvements, and New Actions

I spend a lot of time refining my workflows with the naive intention of heightening my productivity, but it always has an adverse effect. I know this is not a new problem, and a lot of my Mac nerd friends also fall victim to the “tweak now and it will help me later” facade. What I have come to realize is – productivity is about having tools that you can trust and rely on to provide stability in times of hectic disarray. For my own personal workflow I have relied on Hazel for quite some time now (our own Federico Viticci previously wrote about it here). Hazel has become the backbone that provides stability to my trusted system: I have so many automated processes ranging from managing my monthly utility bills to just doing general cleanup that I could not easily accomplish without it.

Today Noodlesoft has released Hazel 3.0, and with it come some much needed interface improvements, a heap of new features, and under-the-hood changes for a completely redesigned engine for detecting file changes. Let’s take a closer look at some of the highlights added to this release.

The first thing I noticed when I launched Hazel 3.0 is that it looks a lot like the previous version. That is not a bad thing, but the changes were not completely obvious at first. Then I noticed the new little eyeball icon in the section to add folders. When clicked, this icon displays a quick dropdown preview of what files match the rules for the folder you have selected. So, at this point I am about three seconds into using the new version of Hazel, and I’m already in love with just one of the many new features. Those using the previous version of Hazel would probably agree that the old method of previewing rules felt buried in sub-menus, and it is great to see that moved to the forefront of the UI.

There have been some other general interface improvements you just do not notice until you start using the program. For example, when editing an embedded script you can now adjust the size of the editor window. This alone is a huge help for long scripts that previously would have been easier to write in an external text editor. Speaking of script editing, perhaps my favorite visual improvement is the new popover design for script editors and option windows when creating new rules. This solves one of my biggest peeves with the previous version: when too many options had been expanded, the old slide-down windows would extend right past the bottom of the screen. It was probably only an issue on smaller laptop-size screens, but it was frustrating nonetheless. The new popovers are a great solution, and they really make Hazel feel at home on Mac OS X Lion.

The list really does goes on and on with tweaks to improve usability. In fact, so much of what makes Hazel 3.0 great is how it gracefully solves quirks I experienced in previous versions of the app. For instance, another frustration (now solved) was the inability to reorder conditions for matching rules. It is hard to explain why you would need to do this until your start creating and editing rules, but just know that version 3.0 does this superbly. In fact, I worry that new users will not be able to fully appreciate the effort that went in to improving the new release – they will simply have to live in blissful ignorance I suppose.

More interesting than the visual upgrades are the new features added to Hazel’s rules section. New features are always the cornerstone of any great software upgrade and Noodlesoft did not disappoint. Newly added actions include Import into Aperture and Sync. I don’t personally use Aperture but I am definitely excited to see the sync option. Unfortunately it is only a one-way sync action so it really only saves me the time of writing a script to run rsync. In fact, rsync is packaged into Hazel and that is how it accomplishes its own sync feature. Regardless, this is definitely a win for the average user.

Another feature I was pleasantly surprised to see was the option to specify custom conditions via scripts. This basically allows you to write a shell script or AppleScript and test the file in anyway you want, then just return the value 0 to indicate the file is a match. This is so neat because it really brings an entirely new level of flexibility to how people can use Hazel. The structured rules Hazel ships with are great for most situations but now I have the ability to write my own. A simple example: I can write a shell script to grep the contents of a file and look for some specific information with regular expressions or in a way more powerful than Hazel’s stock “contents contains” action. I can not wait to really sink my teeth into that feature.

Hazel 3.0 doesn’t stop there, as rules can now be nested and/or grouped in any combination you see fit. This was probably the most requested feature and Noodlesoft did a fantastic job with the implementation. To add a nested rule you simply hold the Alt/Option key while clicking the (+) to add a rule condition; you can also simply click and hold down on the (+) to find the new add a nested rule option. Obviously, the potential uses for more complex conditions are limitless and I am sure many people will upgrade just for this addition.

One more thing worth highlighting is the new engine for detecting changes. Users should notice a decrease in time it takes Hazel to pick up on file changes, because, according to the developer, Hazel no longer needs to poll the disk as it relies on its new prediction engine to only wake when needed. This should result in less resources used and possibly even longer battery life for laptop users.

There are probably a hundred more changes I have not mentioned (i.e. scheduling rules) but you will have to download Hazel yourself to experience all it has to offer. Hazel 3.0 is an excellent upgrade and it is available as a single license for $25 or a family license for $45 directly from Noodlesoft’s website, and it is also available as a $10 upgrade fee for previously licensed users.

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed for every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.

Learn more here and from our Club FAQs.