Yeah, I’m still scratching my head as to why anyone would need this macro, since the Variables preference pane is actually better, in my opinion, because not only can you filter, but you can just arrow through the variables to see their values, and change them.
But it was easy to throw together, and as you know, Peter, sometimes users’ logic is inscrutable.
If I was really going to do it up right, here’s what I would do:
I’d create a window like the one in Preferences, where you can cursor through the variables and see their values instantly.
I’d also have a search filter, but I’d probably provide regular expressions, and let you save and reload search terms (or perhaps provide a history list, or both).
Additionally, I’d let you “pin” variables so they’re visible in spite of what’s in the filter.
I’d let you save sets of “pinned” variables, so you can easily pull up a set for any situation you work on regularly.
Of course, you could limit the variables to only those pinned, to reduce the clutter.
I’d come up with some way so that when you had a set of pinned variables, you could click a button and it would store all their values. Then at another point in time, you could click a button and see what variables changed, and compare the results.
I’m sure I could think of other things. Just thinking out loud here.