I threw together a quick shell script, called
big that leverages AppleScript and LaunchBar to display results in a huge font.
Often, when I’m demoing something, the results of what I’m doing don’t really jump out at my audience.
If I really want to get a point across to someone it’s nice to be able to do it in a really big, clear font. Just up arrow/ctrl-p to get the last command and append “
| big” to get this:
This script takes the results of anything you pipe to it and sends it to LaunchBar to display in a really big font. It get smaller the more text that you send to it, but starts at a ~200pt font.
#! /bin/bash TMP_FILE=`mktemp /tmp/big.XXXXXX` || exit 1 cat - | head -20 > $TMP_FILE osascript <
It uses the
headcommand to take only the first 20 lines, in case you’re trying to display something HUGE (which can kill LaunchBar if you feed it too much). Adjust the head command appropriately to cap
bigto more/less output.