This command cycles through open listers, not through layouts.
Did you mean this script?
Cycle through Layouts