Repeat Doug Script for every playlist

http://dougscripts.com/itunes/2012/12/updated-assimilate-view-options-v3-1/

This script changes the selected playlist’s view layout to the view layout of the main library playlist.
My end goal is to run this script for every playlist of my library, so I can change the view layout of every playlist in my library at once.

I’ve tried repeating over the whole script with a list containing every playlist in the iTunes library. But it was unsuccessful.
With my very limited knowledge of Applescript, I don’t know what to try next… :frowning:
Does anyone know how to achieve this?