Automator to Change Dock Colour in Leopard

Hi all,

Many people seem to want to change the colour of the dock in Leopard.
Doing it manually is a pain.

So I made a Automator workflow that can be saved as an app, that will do all the work for you.

** BEFORE YOU RUN THE WORKFLOW.
I would suggest you back up the png files (see below (do not keep the copies in the Resources Folder, or the script will pick them up also) or make a complete zipped up copy of the Dock.app
I have had no ill effects so far… but it has to be said using this workflow is at you own risk. **

Because the scurve-l.png , scurve-xl.png, scurve-sm.png, scurve-m.png files that need changing are inside the Dock.app /System/Library/CoreServices/Dock.app/Contents/Resources/
we do not have permissions to change them while they are inside the /System/Library/CoreServices/Dock.app/Contents/Resources/ folder

The workflow will copy the files out to the desktop, (you can change that to you own preference)
(do not change the variable (corePath) which is set to /System/Library/CoreServices/Dock.app/Contents/Resources/)

A Quartz Composition Filter window will popup.
*Leave the sliders alone.
*Leave the filter on Monochrome. (although I have used gamma to lighten the dock)
Click the colour bar to get to the colour pallet, and select the new colour you want for your dock. Close the colour pallet. Click continue…

The workflow will change the colour of the copies.
It will now need to copy the files into the restricted /System/Library/CoreServices/Dock.app/Contents/Resources/
So you will be prompted to enter you Admin details.
Once you do this your dock will quit. Then re launch with the new colour.

I have zipped the workflow and you can download it.
Because it is a workflow you can view it, before you save it as a app, and run ithere

I would appreciate any feed back or ideas.
Thanks
Mark