Assigns a random linear gradient for each object in a selection, for a given selection of swatch colors (Adobe Illustrator). Props to robotwood and Saurabh Sharma.