Color Gradient script?

 From:  amur (STEFAN)
9676.11 
Oh, cool Pilou!

But I can not get it to work ... :-(

I select all my splines and run the shortcut but the script then
writes all color styles in the browser, but does not apply the
colors to the selected splines. :-(

Regards
Stefan