Download the zip file, unzip and place the script in the relevant folder.
PC:- C:/Program Files/Adobe/Adobe Photoshop CS4/Presets/Scripts/
Mac:- [hard drive]/Applications/Adobe Photoshop CS4/Presets/Scripts/
The script will show up as:- File - Scripts - Batch Save For Web (Above Image Processor)
