Posts tagged with "hazel"

Create OmniFocus Tasks From Drafts, Scratch, Or Any Text Editor Through Dropbox

Back in October 2010, I posted a tutorial on how to add new tasks to OmniFocus or Things using Dropbox, AppleScript, and PlainText by Hog Bay Software. In June 2011, I wrote about more ways to add tasks to OmniFocus (my GTD app of choice), and noted how I had only “scratched the surface of what’s possible to do with OmniFocus and task creation”.

I decided to slightly revisit my workflow now that several “quick Dropbox note-taking apps” like Scratch and Drafts have come out. These apps are already integrated in my daily routine, but the following method works with any text editor, and, obviously, using Dropbox is recommended if you want to be able to create tasks from anywhere. Read more

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

Sync Documents From iCloud to Dropbox

Sync Documents From iCloud to Dropbox

TJ Luoma at TUAW has written the post I was going to save for the weekend: a simple way to sync documents from iCloud to Dropbox using Hazel on the Mac (our review of Hazel 3.0). Because a number of apps – text editors in particular – have started to offer a second option to sync documents with iCloud, and because iCloud, unlike Dropbox, doesn’t offer document versioning, finding a way to keep files in sync from iCloud to Dropbox might be a workflow worth considering.

The good news is that you can sync iCloud to Dropbox. The bad news is that it’s a one-way sync from iCloud to Dropbox. But if all you want to do is backup iCloud files and be able to retrieve previous versions from Dropbox, it’s pretty simple to do.

Aside from text files, the Mobile Documents folder used by iCloud can be configured on the Mac to do all sorts of crazy automated tasks when combined with the right apps. For example, you can use it with GoodReader and find the same documents on the Mac, in spite of the lack of a GoodReader app for Mac.

Check out TJ Luoma’s guide here.


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.

Why I Started Using Hazel for Mac

Over the weekend, I have started using an application several MacStories readers and friends of mine suggested for a very long time: Hazel. Following Ben Brooks’ excellent roundup of what can be accomplished with Noodlesoft’s Hazel and a series of great tips I’ve found on the Internet, I decided it was about time to take what many call “the most precious time-saving utility for the Mac” for a spin. The results, even in a short 3-day testing timeframe, are quite impressive.

This is not meant to be a review of Hazel, as I believe the app can go really in-depth with its feature set and I need a few more weeks before writing a proper article. Still, I think I should share my thoughts on why I started using it, especially considering how it’s difficult to find on blogs the reasons why you need Hazel, rather than a list of all the things this utility can do. Last week, when I was not a “Hazel user”, I couldn’t find a single post about getting started with Hazel, and why you should give it a try. So here it is. Read more