Mimsy Were the Borogoves

Hacks: Articles about programming in Python, Perl, PHP, and whatever else I happen to feel like hacking at.

42 Astoundingly Useful Scripts and Automations for the Macintosh

Work faster and more reliably. Add actions to the services menu and the menu bar, create drag-and-drop apps to make your Macintosh play music, roll dice, and talk. Create ASCII art from photos. There’s a script for that in 42 Astounding Scripts for the Macintosh.

Safari 3’s smart window close

Jerry Stratton, November 18, 2007

I just installed the latest Mac OS X 10.4 update, which installs Safari 3. I’ve also re-enabled quit, because Safari 3 is a lot smarter about closing windows and quitting. If I attempt to quit, or close a window, when I’ve got unsaved text in a window, it warns me first. And if I attempt to quit when I have multiple tabs open, it warns me about that. Those were the reasons I disabled the command key for quitting.

In response to Disabling Quit and rewriting keyboard shortcuts: If you, like me, accidentally quit Safari too often when all you meant to do was close a window or tab, you can disable or remap Safari’s Quit keyboard shortcut.