Welcome to The Lab.

Nested Topics for Howzit

Howzit has always split build notes into topics using Markdown headers. What it didn’t do was care which header level you used. A level 2 and level 3 header were both just “a topic,” and they all got flattened into one long list. As of version 2.1.46, that’s changed: deeper headers now nest under the header above them, and that nesting affects both how notes display and what happens when you run them. automation, cli, howzit, markdown, ruby, scripting, shell

→ Continue reading

ScreenCoord: Quick and Easy Screen Rects

I write a lot of scripts that grab screenshots with , fire CleanShot X’s URL handler, or shove rectangles into AppleScript window frames. The annoying part has never been the capture itself — it’s getting the exact coordinates for the region I care about. I’ve eyeballed them, measured with Digital Color Meter, typed numbers into a calculator, and still gotten them wrong more often than I’d like. applescript, cli, formatting, macos, macos, screencapture, scripting, utilities

→ Continue reading