I've gotten a lot of useful answers to my AskMe questions, but this question
seemed to be a stumper. Until...
After a few days, barnone
came through with lots of suggestions, but none were quite what I needed for the purpose, though still cool and useful for other purposes.
And then... chairface wrote an app
to do what I needed.
Coolest AskMe answer I ever got! I love MetaFilter!