Free Utilities for Mac OS X
Free Utilities for Mac OS X
Here are a few small AppleScripts that I whipped up for my own use a long while ago. I’m not using these any more and do not maintain them, but you’re welcome to take, use, and modify.
Here is an AppleScript that works with Safari and BBEdit. If you want to see the source of the page you are looking at in Safari, and, as is usually the case, you are interested in the neighborhood of a particular paragraph, table, or what-have-you, then select the area of interest, copy it, and invoke this script. You will see the source in BBEdit scrolled to the area of interest, which will be selected.
If you are editing an html document in BBEdit, and want to insert a link (html anchor) to the page displayed in Safari’s top window, just invoke this script. The anchor will appear at the cursor position, using the title of the page as the anchor text.
This script has been adapted to work with TextWrangler and MarsEdit.
A python script for use with TextExtras or, after some simple editing, ProjectBuilder: comments or uncomments the selected lines in your code by prefixing with or surrounding by comment characters appropriate to the language.