Sorting and Moving Documents with Hazel

In the Mac Power Users paperless episode(3), I commented that I do a lot of my document sorting automatically using a great little Mac application called, Hazel (reviewed here). So here is how I did it:
In the Hazel preference pane, pick the folders button and locate the source of your scanned images. Hitting the “+” button allows you to create a new folder to examine and, more importantly, a new rule. I’m making one to file my auto insurance statement.

Hazel1a.jpg

This rule picks anything I’ve named CN Auto Statement. First, it renames the file inserting the date before the name. You simply drag the date created field into the name. Don’t forget to add a space or hyphen between the date and name.

Hazel 2.png

Next, create a rule to move the file to your selected location.

Hazel 3.png

Finally sort it into a subfolder based on the year. Use the date created field and delete all elements except for the year.

hazel 4a.png
Hazel 5.png

Here is the final rule.

hazel 6a.jpg

I made rules for all of my regular documents. So long as I remember to name them correctly, the rest is done automatically. Thanks Hazel.

Continue reading

Simple Hack – Label Your Stuff

Labelmaker.jpg
I have always put labels on my tech stuff. A simple label with my name and cell phone number adorns most of my traveling gear like my Mac, its power supply, a portable hard drive, and even my iPhone (of course using a different contact number). This would allow any person to easily contact me if my Mac ended up in their hands. I realize that if my stuff were to fall in the hands of someone dishonest, this really won’t do much good but I’m an optimist and think most people would return lost equipment. It certainly can’t hurt.

Continue reading

PDFpen OCR Folder Action Script

As discussed on Mac Power Users episode 3, “Going Paperless,” the nice people at Smile On My Mac put together an Applescript that, when combined with a folder action, gives you a way to automatically OCR documents using PDFpen or PDFpenPro. So here is the promised walk through:
What you’ll need:
1. Some scanned PDF images;
2. PDFpen or PDFpenPro (See my review here);
3. A bit of patience.

Step 1 – Load up the Script Editor

Script Editor.png

This little application allows you to create and save AppleScripts.

Step 2 – Copy in the below script

on adding folder items to this_folder after receiving added_items
try
repeat with i from 1 to number of items in added_items
set this_item to item i of added_items
tell application “PDFpenPro”
open this_item
set theDoc to document 1
repeat with aPage in pages of theDoc
ocr aPage
— Looks like we need to modify PDFpen so that we can detect when OCR is done; for now use 15 seconds
delay 15
end repeat
save theDoc
close theDoc
end tell
end repeat
on error errText
display dialog “Error: ” & errText
end try
end adding folder items to
————-
Note – if you use PDFpenPro instead of PDFpen, you’ll need to open the script and edit the command that reads “tell application “PDFpen” to read “tell application “PDFpenPro”.
Note 2 – Wordpress seems to have converted the double dash before the comment in to an em-dash and the quotes to smart quotes. Although I fixed it in the wordpress code, it still reverts to “fixing” things when I publish so you’ll have to correct those in your editor. Sorry. If anyone knows a better way to post applescript via wordpress, please drop me a note.

Step 3 – Save the script

You need to save it to a specific directory:
HD/Library/Scripts/Folder Action Scripts/
I named mine “PDFpen Scriptacular”

Step 4 – Create a folder

Save the folder wherever is convenient. Perhaps in your documents folder or (for you anarchists) on the desktop. By the way, did you know that command-shift-n gets you a new folder? I named mine “OCR Drop.”

Step 5 – Enable folder actions

Secondary click on the folder and enable folder actions under the “More” item.

Enable Folder Actions.jpg

Step 6 – Configure Folder Action

Right clicking the folder a second time gives you a new option, Configure Folder Action. Click it.

Configure Folder Actions-1.jpg

Step 7 – Pick Your Folder

On the menu that appears, hit the plus (+) sign under the “Folders with Actions” box.

FA pick folder.jpg

Select your folder, wherever you located it. It will then ask you to pick a script. Pick the PDFpen scriptacular.scpt

pick script.jpg

It should now look like this.

Script menu.jpg

Close the window and you are done.
Now just drag a few PDFs in and let the script go to work. Copy the OCR’d PDFs where they belong and you are done. There are a few additional points:
1. There is no Applescript command in PDFpen that reports when it is done doing an OCR so instead there is a 15 second timer. The PDFpen wizards report they are going to try and fix this in a future release.
2. While this script generally works, it sometimes gave me an error when I overloaded it. Be patient.
I want to give my personal thanks to the gang at Smile On My Mac, particularly Greg, who put this script together for Mac Power Users just because we asked.

Continue reading

Switching Horses: MacBook Air to MacBook

If you follow me on Twitter, you’ve probably read recently my public conversation about switching my MacBook Air for a MacBook. I’ve had quite a few e-mails on the subject so I decided to post on it.
Up until last year, I’ve always been a one computer person. That is, I generally used a fairly high-end laptop computer as my sole device. For a long time, that was a 17 inch MacBook Pro.
I was fortunate to get a MacBook Air in March, 2008. It was liberating. After using such a big laptop for several years, the ability to simply drop the computer in my briefcase or take it with me to the coffee shop was fantastic. Very quickly, the MacBook Pro was relegated to sitting on my desk at home and the Air followed me everywhere.
A few months ago, Apple released updates to the iMac line and a friend, who happens to work at the Apple Store, told me some of the prior version iMacs were on sale for $600 off. Since the MacBook Pro wasn’t leaving my desk anyway, I sold it and used the money to replace it with a 24 inch iMac. I love it.
The only time I took the MacBook Pro off my desk was to use it with my MIDI keyboard, which is in a different room. I was able to load a stripped down version of Logic on the MacBook Air but this new task, along with a lot more presentation work and media heavy projects at the office and the general bloat of dropbox synced files has me bumping into the processor, memory, and space limitations of the MacBook Air.
Also, in the meantime Apple redesigned the MacBook. The new unibody design fixed many of the shortcomings in the prior design. Particularly, they added an LED screen, which is far superior to the LCD screen in prior MacBooks. I have set up a few unibody MacBooks for friends and it really isn’t much different than a MacBook Air. It is a pound and a half heavier and slightly thicker.
The improved MacBook design got me thinking about my next laptop. Frankly, the gap has been closed between these two products and a MacBook, even slightly heavier and thicker, is more appropriate for my use. This is where I got into trouble. I was browsing the refurb store for a friend and realized that I could sell my MacBook Air and replace it with a unibody MacBook for about the same money. It made sense, so I did it. The new machine is already on the way and the old machine is being prepared for its new owner. This strangely leaves me without a laptop for a few days.
Nevertheless, when the dust settles I will have a shiny new (refurbished) MacBook with more memory, a faster processor, and a bigger hard drive.* I’m curious to see if the slightly increased size causes me to carry it around less. I doubt it will but regardless, I will report back.
* Exactly how much bigger is a subject of some debate. I could either put in a massive drive or speedy SSD drive. I haven’t decided that one yet.

Continue reading

Launchbar Review

launchbar-icon.jpg

I’ll admit I’m just a little bit crazy about Quicksilver. I’ve used it, tweaked it, and even produced screencasts about it. But as much as I like Quicksilver, I also like things that are new and shiny. So a few months ago, when the latest version of LaunchBar was released in beta, I decided to do an experiment and use it exclusively for a few months. Now that I’ve thoroughly kicked the tires, it is time to report in.

index-window-zoomed.jpg

LaunchBar begins as an application launcher. In this respect, it is no different from Spotlight or Quicksilver. The process of launching applications is painless with LaunchBar. You start typing and the application appears. You can hit return to launch it or, better yet, hit the space bar and it gives you a list of the most recent documents opened with the application. Using this tweak you can get your file open quickly.

clipboard-history-prefs-zoomed.jpg

LaunchBar offers a great deal more however. You can access your address book and quickly start an email or display a contact’s phone number on your screen. One nice touch is that it actually lists the person’s name along with the number. This is an improvement over Quicksilver.

clipboard-history-zoomed.jpg

You can also easily search and play iTunes by genre, album, or composer. You can also search Safari history or dig straight into the file system.

calculator-zoomed.jpg

Using the dot command you can enter a web site directly into LaunchBar and open it with one keystroke. You can also do a Google search simply by typing “goo”, hiting the space bar, typing your search term and then enter. Once you get it, you will be working much quicker. This same method is used to search other sites like Wikipedia, Google Images, and iTunes.

create-ical-event-zoomed.jpg

You can also manipulate, move, and rename files. You can even create and name folders. It has a nifty clipboard that allows you to keep a running log of clipped links, text, and other assets. There is also a simple way to add new iCal events direct from the LaunchBar command line. If you use iCal to-dos you can program those as well.

quicklook-song-zoomed.jpg

So how does all this fancy gadgetry stack up against my beloved Quicksilver? Actually pretty well. Using LaunchBar you are trading in some of the high end Quicksilver commands for stability. I’ve had troubles keeping Quicksilver running as of late and in the two months I’ve ran LaunchBar (mostly in beta), it has never crashed on me.

show-date-zoomed.jpg

While the LaunchBar command line is very functional, I wish it was customizable like the interface in Quicksilver. I miss my cubes. Also, LaunchBar is a paid applicaiton, 24 Euros ($32 as of this writing). While I do miss some functions from Quicksilver, I think some of the features improve upon Quicksilver and it is definitely more stable. I know Quicksilver is open source now and it may get new life but for the time being. I’m sticking with LaunchBar. You can get a 30 day trial of LaunchBar from Obective Development at www.obdev.at.
You can listen to this review on MacReviewCast #209

Continue reading

iPhone Gem – Dictionary.com Application

dictionary.com.png

Several times I’ve had need of a dictionary on my iPhone but, alas, dictionary applications are unusually expensive. Yesterday I again found need for a dictionary and decided it was time to bite the bullet. I went snooping in the App Store and was surprised to find an excellent (and free) dictionary application from Dictionary.com.
I’ve only been using it a few days but I really like it. Did I mention it is free? If you’ve been waiting for a dictionary application, check this one out.

Continue reading