This is an adaption of a script that I found (not sure where now but possible to re-find by searching on google). The name under the registration was Lucas Pettett so I guess it was his.
Originally it took some colours and text and produced a vista style button with a gradient dark part and light part horizontally divided. The corners were rounded and it had a border.
I have added the following things (so I can quickly create buttons for some of the applications I am working on):