Posts tagged ‘applescript’

Quicker Markdown linking with TextExpander

I listened to the Mac Power Users TextExpander episode today and noticed that I come off as a bit of a dick, always correcting others. This was surprising only inasmuch as I wasn’t on the show. Normally, I have to be present to demonstrate my dickishness, but David and Katie have dealt with me enough…


A simple Numbers workflow

Here’s a simple AppleScript I should’ve written a while ago. It saves me a few steps when creating and filling out a new expense report. As I’ve mentioned before, I have a simple two-table Numbers template for my expense reports. The table in the top right has just two cells for the date of the…


Better Markdown folding in BBEdit

One of the few things I don’t like about BBEdit’s Markdown language module is the way it handles section folding. Here’s a simple example document, similar to the format I use when writing a report: Title: A simple report in Markdown Author: Dr. Drang Date: June 11, 2014 Client: Markdown Industries, LLC 1029 Race St…


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…