Thx Dale, is just a demo though, of Item State processing using the extract_section() function I've been fiddling with. I was going to put extract_section() in a .pm to make it easy to reuse but I'm either missing some trick or ReaScript doesn't like me using custom .pm files.