I’ve been meaning to do this anyway!
This is brilliant, thank you so much @RosemaryOrchard! This script, together with your discussion about project lists with @heyscottyj on Nested Folders has really helped me transform my project list from a fallow, untended field to an area of active cultivation. Much appreciated!
I’m really glad this has helped!