I've wanted to post this for a while. It's a great script to help debug control data....perfect scenario, when you have a 'Button' grouping, and spy tools cannot focus on those controls within the button bounds (groups).
I also use it to verify that a given ID is not present more than once...if not, that's how I identify the control in future scripts.
Output can be filtered by:
1) Filter by IsVisible
2) Filter by matching class (ex Button, Label, Static)
3) Filter by containing text