Posts tagged ‘applescript’

Affiliate links via the iTunes Search API

I started writing these scripts a couple of weeks ago, and they weren’t supposed to take very long to put together. But I had to learn some things along the way, and then I got caught up in the statusbar cleaning scripts, so they kept getting delayed. Better late than never, though; I expect to…


An hour of wolves and shattered AppleScripts

A day may come when Mavericks doesn’t fail, when I forsake complaining to bond with it in fellowship. But this is not that day. This weekend, after upgrading to Mavericks, I was writing a piece in Markdown and invoked one of my favorite scripts, the one that creates a reference-style link on the fly, putting…


Quick switch to big Finder icons

In this post from a few weeks ago, I said that one of the reasons the Finder is a pretty good photo management tools is that you can use icon view to preview a folder of photos. What makes this work is the Finder’s ability, through the little slider in the lower right corner of…


Mixed AppleScript signals

I woke up this morning to find this overnight tweet from Clark Goble in my Twitter stream: @drdrang. I’m so upset. Apple dropped Applescript support on nearly all their apps today. bit.ly/1gDNT6D— Clark Goble (@ClarkGoble) Wed Oct 23 2013 12:22 AM CDT He sent essentially the same tweet to several people. The post he linked…


Whose in AppleScript

For several years, I’ve had a little utility program called addr that looks up a name in my Contacts (née Address Book) and returns the name and address formatted as if it were to be printed on an envelope or mailing label: Brian Kernighan Unix, Inc. 321 Troff Lane Murray Hill, NJ 07974 The program…


Scripts for WordPress and BBEdit, Part 3

If you write a lot of helper scripts that you come to depend on, you’ll probably come to realize how interdependent they are. They don’t all get written at once, of course, so they kind of accrete onto your working environment—written in whatever language seems the most appropriate at the time and saved wherever convenient.…


Scripts for WordPress and BBEdit, Part 2

In contrast to yesterday’s script, which focused on pushing posts up to the blog, today’s scripts focus on accessing and downloading articles from the blog. Like the publishing script, they’re built in an editor-agnostic way; unlike the publishing script, they require an AppleScript wrapper to work smoothly with BBEdit. The scripts in today’s post are…


Keeping iTunes podcasts up to date

The problem is that I still like to use my iPod nano. Or that I’ve come to rely on Downcast so much. Maybe I should just blame Apple and iTunes. Yeah, that sounds right—it’s Apple’s fault for making iTunes think it knows what I want better than I do. I like listening to podcasts while…


Unsolicited TextExpander advice

This afternoon, Merlin Mann tweeted a link to a set of his TextExpander snippets: As requested, here’s a few of the random TextExpander 4 snippets I mentioned in Back to Work #116:i-0.us/18vNRnM— Merlin Mann (@hotdogsladies) Thu May 2 2013 2:41 PM CDT I will not comment on how foolish I think it is for Merlin…


Deleting Safari cookies via AppleScript

Generally speaking, I don’t mind it when websites set cookies in my browser. They provide a degree of continuity that the otherwise stateless web wouldn’t have, and that’s convenient for many types of website. But sometimes cookies either get in the way or are an unnecessary intrusion. It’s relatively easy in Safari to delete the…