Color Gradient script?

 From:  bemfarmer
9676.91 In reply to 9676.89 
Both shortcuts work!

A minor observation:

For customUI shortcuts "gearpair" icon menu, add the ! i.e. /*!

Also, the second comment /*Create if not found*/ causes the customUI gearpair icon to display all of the code up to the last */, which is a long line of text in the menu.
so I removed the second comment /*Create if not found*/, in the installed shortcut.

- Brian