macosx
Markdown to Microsoft Word Service
Markdown to Word is a ginchy little service that will take Markdown-formatted text, and put it into Microsoft Word, making use of Word’s style sheets to do so.
This is in all ways identical in function to my previous TextMate script which does the same thing, except that this also auto-formats once in Word.
You may notice some funniness in the conversion. Lists, in particular, sometimes don’t convert perfectly. This is part of Apple’s textutil program, which is very handy, but sometimes a little… er… special in how it handles things. I take neither blame nor credit for its output.
IMPORTANT! This service relies on the setfile utility, included with Apple’s free “XCode” developer tools. You’ll need to have those installed (at least the developer applications).
And, of course, this program wouldn’t exist were it not for John Gruber’s “Markdown.” Mr. Gruber retains all copyright, etc., to said code. Disclaimers can be read below and are included with the Zip archive.
http://www.daringfireball.net/markdown
I am eternally grateful to Mr. Gruber for giving me Markdown. Without it, I’d probably be writing in LaTEX or something. Ugh.
Evernote Services for Snow Leopard
Updated October 2, 2009!
With Snow Leopards new services support, I’ve updated the old “Send to Evernote” service to include three services:
Clip Text to Evernote: This is the original “Send to Evernote” service, with the improvements provided by Snow Leopard. This service takes selected text and turns it into an Evernote note. It will also grab the name of the frontmost window for the title of the note so that you’ll remember where you clipped it from.
Clip URLs to Evernote: This takes any selected URLs, and downloads the contents of those URLs into Evernote. Very handy if you have a reading list of URLs and want to save them for later.
Clip Files to Evernote: This will accept files and folders and attempt to clip them to Evernote. In some cases this will fail if the file isn’t supported by Evernote (although premium users can attach anything they want). If it is a supported file type, the document’s contents will become the note, rather than just attaching as a file.
Installation’s easy. Just unzip the archive, and put the services you wantin your ~/Library/Services/ folder (make one if it doesn’t already exist).
This will also let you get rid of the little elephant in your menu bar if you like.
Nik's Picks: ProdMe, an actually USEFUL Dashboard widget
Full disclosure: I hate Dashboard. I have found very few widgets that do anything useful for me, and having them invisibly off in some weird dashboardy land bugs me, too. It pretty much limits me to widgets that I use infrequently enough that I don’t want them in front of me.
However, I just found a good one. ProdMe is a widget that beeps at you. It can be hourly chimes (a la MacOS 9), an egg timer, or an alarm clock. It can also notify you via Growl.
There’s lots of times that you need a timely reminder. In my case, it’s usually to check on a database restore or an exceptionally long software install/update. I just go to Dashboard, tell ProdMe to bug me in 30 minutes, and in 30 minutes I get a noise and a Growl notification reminding me to check on the server in question.
Very handy for those one-off reminders that you’d rather not burden iCal with. As for it being off in Dashboard-land, well, who cares? It’s a set-and-forget kind of thing, so it belongs there out of my sight.
Ubiquitious Mac Automation
I often find myself wanting to make my Mac do something even when I’m not there. It could be something as simple as “reboot” or something more complex, like, “Add this task to OmniFocus”. Unfortunately, unless my Mac is up and running and accepting remote connections, there’s no way I can do this.
Or is there?
One obvious answer is to set up mail rules that shoot off AppleScripts. When an appropriately formatted messages comes in from the right sender(s), the script runs, and you’re all set to go. This approach has the advantage of being either close to real time (if Mail’s up and running, it works) or asynchronous if Mail’s off — the actions will fire off when you next check email, if your computer happens to be off.
Another option is to monitor various internet feeds to create similar results. I’ve written about Proxi before, and it remains one of my favorite tools for automating my Mac. One thing it can do is monitor network resources, such as RSS feeds, Twitter accounts, Mail, Skype, iChat, etc. This, it turns out, is the key to handling this need for remote automation.
By monitoring an RSS feed, you can set it up to check Gmail (which publishes an ATOM feed of your mail), a blog, or anything else, and have it fire off a script with some or all of the values passed by the feed. One very cool use of this ability is to set up script-firing Gmail rules by just having Proxi parse the ATOM feed and then activate scripts when certain conditions are met. This gives you the best of both worlds: Gmail’s powerful web-based interface, and the integrated goodness of Apple’s Mail program.
Another great tool is Twitter. Twitter’s main purpose is to share little snippets about what you’re up to with the rest of the world. But Twitter can also be used as simply an online notepad. It integrates with both SMS and IM clients, so it’s easy to contact, and you can even use a service like Jott with it, so you can phone in a “tweet” to your Twitter account.
Proxi has a Twitter monitor, so if you set up an appropriate Twitter account, you can have Proxi take action on incoming tweets, just like it can with GMail’s RSS feed.
Lastly, Proxi can monitor iChat and Skype and fire off scripts based on behavior in those apps. (iChat also has some of these capabilities built in if you’ve upgraded to Leopard) This can be an excellent way to have instant access to your computer from a remote machine.
What have I done with this? Well, I set up a Twitter account that feeds directly into OmniFocus so that I can capture a new task anywhere (via the web, SMS, IM, or the phone — thanks to Jott) and rest assured that when I next turn on my Mac, Proxi will pick them up and dump them into my electronic inbox.
Leopard Trick: Spaces Keyboard Shortcuts
When you’re zoomed out to the “all spaces” view, you can drag and drop windows from one space to another to rearrange things. Here’s some keyboard shortcuts to improve upon this feature:
If you hold down the “Command” key while dragging a window, you will move every window of that application within the current space at the same time. (e.g. Every Safari window in the current space will move together, but Safari windows in other spaces with not)
If you do so while holding down the “Shift” key, the window you drag will move to the same location on the screen within the new space. (Especially handy for full-screen windows)
The two keyboard shortcuts can be combined to move all windows of an application to the same location in a new space.
You can also scroll through spaces using your scroll wheel or your two-finger-trackpad-skills while in the all spaces view.
As with all the zoomy eye-candy features of MacOS X, if you hold the shift key down while switching spaces or viewing all spaces, it will do so in slow motion. Oooh!
iMovie '08 Library Compressor
This is a simple program to reduce the size of your iMovie 08 library.
I love iMovie ‘08. I know, I know, it has less whizzy features than iMovie ‘06 does, but darn it, it’s so darn fast and easy to build videos. I can create a whole hour-long movie in about ten minutes! (Not a very good one, of course — but none of my movies are very good.)
Part of why it’s fast is that it keeps all my clips on hand, ready and willing to be part of my latest (crappy) movie. Unfortunately, all those barely-compressed DV clips take up A LOT of space. (About 10 GB/hour of video!) This application will compress all the DV files in your iMovie library to save huge amounts of disk space! Using Apple’s H.264 compression technology, you can shave 70% off your library space with minimal loss of quality.
UPDATE: v1.2 works with SetFile installed in /usr/bin as well as in the default /Developer/Tools directory.
iDisk improvements in Leopard
In Leopard, iDisk syncing creates a sparse disk image for the sync instead of a standard read/write image. This has the huge advantage that your iDisk sync file doesn’t have to be 10 GB in size, but is instead only as large as it needs to be in order to hold all the files on your iDisk. Very nice.
Create Complex Searches in Spotlight

You can do complex boolean searches in spotlight’s search field by including parenthesis, AND, and OR statements. Unfortunately, a lot of metadata is not available via Spotlight’s keyword searches, but is available via the Finder’s search window as “Other” criteria. Luckily, you can add boolean operators using the Find window and an undocumented trick.
Time Machine for unsupported setups
My current backup setup consists of a 160GB external hard drive hooked up to a G4/400 Cube. I’m using a combination of ChronoSync and some shell scripts to create a nice archival backup of my home folder. (I don’t bother with apps and stuff because I’m too cheap to get a larger drive.)
Now there’s Time Machine in Leopard, and I’d really rather use it. It’s fully supported, so there’s no need for scripts and hacks, plus it has some nice features with iPhoto, etc.
How I got rid of Airport's auto-connect delay
For the past few weeks, my MacBook has been slow to hook up to my home wifi network. Every time I booted up or woke my Mac from sleep, there would be a short (about 20-30 second) delay before it would properly auto-connect. It doesn’t sound like a big deal, but I have lots of scheduled apps (backups, updates, IM, etc.) and they’d all report errors or fail when they couldn’t promptly find a network connection.
10.5 delayed on account of iPhone
[Appleinsider reports that Leopard won’t ship until October.]((http://www.appleinsider.com/articles/07/04/12/apple_delays_leopard_release_until_october.html) The reason? The iPhone stole the time of too many developers.
Those of us who were concerned that Apple might be devoting more time to iPods that Macs appear to have some further justification for these concerns…
Help raise awareness of how great Mac software is!
A while ago, I set up a Squidoo lens to let folks vote on which software for the Mac was best. To my great surprise, it was really popular, and quickly shot up into the top 50 Squidoo lenses, and was nominated as a Lens of the Day by Squidoo.
Well, it’s popularity has diminished slightly, but now the lens is in the running for the Squidoo Lens of the Year!
How cool would it be if a lens promoting the very BEST stuff for the Mac was awarded this prestigious title?
Copying and Metadata Redux, or Apple's Folly
This week, I’ve taken a very close look at how various Mac utilities deal with the plethora of metadata available in MacOS X. I took a look at file archiving and compression programs, backup and synchronization software, and also released a set of test files for other people to verify my own tests and run their own.
In addition to what I’ve published, I’ve corresponded with various closed and open source developers to learn more about what’s going on under the hood, and have come to a few conclusions which I think are worth sharing.
File copying/synchronization software and your metadata (and data!)
Following up on my earlier test of Mac archiving software, I decided to test some popular file copying/synchronization software to see which of these programs kept metadata and other Mac/HFS+ attributes intact. Rather than do a comprehensive test, I tried some popular utilities which seem to cover the general breadth of the software and which are particularly popular or prevalent. I also wanted to catch programs which had been updated since this article was written a year ago.
If you want detail on other utilities, I recommend reading the article linked above, or doing your own tests if you have the time. (And please let us know what you find out!)
A Mac metadata test suite
A number of people seemed to enjoy my coverage of how poorly most Mac archiving programs work with Mac/HFS+ metadata. However, a number of people also thought that I might have tested incorrectly (it’s possible!) and wanted to know how other sorts of utilities (such as file synchronization programs) handled Mac files.
Bookmark with Del.icio.us