Posts tagged ‘applescript’

AppleScript, Numbers, and receipts

You have, no doubt, already seen Shawn Blanc’s receipt organizing AppleScript. He takes photos of his receipts with his iPhone and uploads them to Dropbox.1 This triggers an AppleScript folder action that puts the receipt photos into Yojimbo with appropriate tags. Because I don’t use Yojimbo, I can’t use the script, but it did get…


Address Book URLs

Last night, Brett Terpstra wrote a post about how to get links to Notational Velocity/nvALT notes into your Address Book via AppleScript. Since I don’t use either of the NVs, linking from Address Book to a note has no value for me, but I have needed to link to Address Book. Brett’s links work because…


Automatic W-9s with PDFpen

I resisted PDFpen for a long time. I already had OmniGraffle, and while it certainly wasn’t convenient to fill out PDF forms in OmniGraffle, I could do it. This worked fine as long as filling out PDF forms was a rare task. But as the companies I work with began using PDFs more and more,…


Tweeting images

Back in August, I added some code to my personal Twitter client, Dr. Twoot, that allowed it to display tweeted images inline. This ability is limited to pictures that use Twitter’s “native” image system, which includes the image data as a tweet entity. This isn’t as nice as having hooks to display images from all…


Affiliate links with Fake

One of my regrets is not reading Gabe Weatherhead at Macdrifter earlier. Like Clark Goble and Brett Terpstra, he has one of those consistently interesting and helpful blogs for people who like to use scripting to show their Mac who’s boss. This past weekend, he wrote a post on how to use Todd Ditchendorf’s Fake…


iTunes info in NerdTool on Lion

I’ve written about this so many times in the past, I’m not sure I can link to every iteration. The idea is to show—on the Desktop via NerdTool—the name, the artist, the rating, the album, and the album artwork of the iTunes track currently playing. Like this: The album artwork part broke under Lion and…


AppleScript browser tab weirdness

I was playing around with an AppleScript tonight and ran into an odd bug when trying to write a script that worked whether my default browser was Safari or Chrome. It happens when I use a variable to hold the browser’s application ID—com.google.chrome, for example—and try to access any information about its tabs. For example,…


The App Store, sandboxing, and AppleScript

When I read the Security section of John Siracusa’s Lion review at Ars Technica, I got a little nervous. Here’s what he says about sandboxing and the new behavior that will be forced on applications that want to be sold in the Mac App Store starting this November: In Lion, the sandbox security model has…


Spotify info on the Desktop via NerdTool

So, like all the other cool internet kids (in the US), you went off and got yourself a Spotify account today. Me too. I don’t see it replacing iTunes on my office computer, mainly because I hate making playlists and don’t know how to get Spotify to do the equivalent of iTunes’ smart playlists (or…


Radio 2 recording scripts updated

The most recent update to iTunes broke some of my BBC Radio 2 scripts, the AppleScript and Python scripts I use with AudioHijack Pro to automate the recording and iTunesifying of shows I like. The failures occurred in the parts of the scripts that add artwork to the saved shows. I could have just deleted…