Using AppleScript Clicking menu items
This one creates a back of the current workbook.
This Applescript take the selected file in Finder and open it with Sublime Text 2 (~/bin/subl). Using Alfred you can bind a global hotkey for this script, so you can edit your files with just a keypress, without worrying about the default editor.
Clicking menu items using AppleScript
AppleScript code example for clicking menu items
AppleScript code example to restart Django development server
Chooses a pre-determined playlist from your iTunes library
You can use to find and replace text in a variable. This script created by Bruce Phillips, one of the leading posters at MacScripter.