Posts tagged ‘bbedit’

Cleaning up my Markdown table cleanup script

Way back in 2008, I wrote a script that made it easier to have nicely formatted tables in a Markdown1 document. The idea was to take a hastily written table like this, | Column 1 | Column 2 | Column 3 | |—|:—:|—:| | first | second | third | | column | column |…


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…


Leveraging little lab labels

I’m starting a long series of tests at work involving many different parts exposed to a variety of chemicals. Devising the test setup was interesting, and I expect analyzing the results to be interesting, too. But this middle section—actually doing the tests—is going to be pretty boring. Lots of bookkeeping, not much thinking. This is…


Open Recent macro for BBEdit

One of the things that frustrates me about BBEdit is that the File‣Open Recent menu item has no keyboard shortcut. This morning, I fixed that with a Keyboard Maestro macro. BBEdit has its own builtin preference system for assigning keyboard shortcuts to menu items, but the Open Recent item isn’t available for assignment. Hence the…


Reviving an old calendar script

Sometimes things work out better than you had any reason to hope. My older son’s swim season just started, which means it’s time to enter his meet schedule into my calendar. Given that all the team parents have smartphones, and all the teachers and administrators have laptops with coordinated calendar software, you’d think we’d be…


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…


Code archaeology

When I returned to BBEdit last year after several years as a TextMate user, I found the Scripts and Text Filters menus filled with entries left over from 2005: little scripts that I’d written for some purpose or another—many of them clearly experimental or unfinished. They’d been sitting in the subfolders of BBEdit’s Application Support…


Helper scripts in BBEdit packages

I didn’t put this in yesterday’s post because it was already 1,600 words long, but I need to write it down before I forget. It’s the set of tricks I learned—mostly from Patrick Woolsey of Bare Bones support—on how to put a complicated BBEdit package together. By “complicated,” I mean a package in which the…


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…