AppleScript Examples
All of the scripts listed below are in a readable format.
This section collects also the readable scripts that belong to other sections of the site.

Copy POSIX path(s) / Copy Finder path(s) (OS X 10.4 or newer)
Copy the Unix (POSIX) or Finder-like path of one or more selected Finder items.
Two excellent candidates as Automator Finder plugins.

.DS_Store enabler/disabler (opensource) - Mac OS X 10.4 or newer
Prevent OS X from creating new .DS_Store files on network volumes.

2iTunes: convert audio tracks while importing (readable droplet) - Mac OS X
droplet to convert audio tracks while importing in iTunes, or convert again tracks using current iTunes import settings

Put a script in Finder contextual menu (Mac OS X 10.4 or earlier)
how to use Automator to execute an AppleScript from Finder contextual menu

Localization switch (opensource applet, Mac OS X)
activate and deactivate the ".localized" files for Home folders

Save Playlist tracks… (readable script) - Mac OS X
copy file tracks of current playlist

Selected tracks info (opensource script) - Mac OS X
number, size and total time for selected tracks

Set enabled… (readable script) - Mac OS 9, Mac OS X
check, uncheck or invert check for selected tracks

Split+Join (readable source) - Mac OS X
text files split & join droplet

tgzippa (opensource droplet, Mac OS X)
simple droplet to create tgz (tar-gzip) archives